Live data from Hacker News

Show HN: Python Tools for Visual Studio

pytools.codeplex.com

31–40 of 56 posts

Re: Show HN: Python Tools for Visual Studio

#31
post #10

That kind of reminds me of the IPython notebook. I really like the variable watching too. Are there any issues using virtualenv with it?

Yup! We're big fans of IPython. So much so that we collaborated with them on two front2: IPython on Azure (w a Linux or Windows backend): https://www.windowsazure.com/en-us/develop/python/tutorials/... and directly incorporating its REPL into PTVS (right window): http://i.imgur.com/tyvjN.png

With the IPython notebook on Azure you can basically use Linux/Mac with Chrome, FF, Safari, ... and have a nice browser based Python IDE and completely cut Windows & IE out of the picture :).

Re: Show HN: Python Tools for Visual Studio

#32
post #15

Looks great! I don't use Python, but I do use Visual Studio every day and this looks like a really complete implementation. Did you find that Visual Studio easy to integrate with, or did you have to fight it to do what you wanted?

As Dino said it's not trivial, but one of the reasons we fought hard for open sourcing it was to make PTVS a Real World sample in case someone else wants to do a plug-in for their language. We know of at least two major companies that are checking it out for that purpose.

Re: Show HN: Python Tools for Visual Studio

#33
post #2

Hi folks, if you happen to be on Windows & enjoy Python, please check out our latest release of PTVS. It's a free/OSS plug-in for VS which supports CPython, IronPython, and the usual Edit/Debug/Profile/etc. now with Django & Client Libs for Linux & MacOS as well. Another cool feature we've added is the Parallel Stack / Watch view and Django template intellisense/debugging. Disclaimer: PTVS is built by few Python/OSS…

I love PTVS, but I keep running into a problem when I debug my code. One time it'll properly highlight in my IDE where an exception (or breakpoint) occurred; the next time it won't, and I have to look in the black Python console window and inspect the stack trace . Using PTVS 1.1.50530.0 with VS2010 Ultimate.

Hmmm... have you filed a bug on this? We're generally pretty responsive (you'll be talking directly to the dev team, not msft support). If you could include a repro that'll be perfect. thx.

Re: Show HN: Python Tools for Visual Studio

#34

Really really impressive! Django development on windows is a PITA (compared to linux/mac), and all other (free) IDEs that I've taken a look at haven't really given me too much. I'll definitely give this a go for a test application to see what it does for me.

Thanks! Would love to get your feedback. Note that you can use PTVS for Django development/debugging & then push to a cloud of your choice (ie, not Azure) as well. See this link for some info: https://www.windowsazure.com/en-us/develop/python/tutorials/...

Re: Show HN: Python Tools for Visual Studio

#35
post #6
post #5

Cool! Pardon my ignorance, but can this be used as a decent Python IDE? Or does it have a more specific/narrow use case?

It really depends on your definition of decent :). It's built on on VS, so if you're looking for something extremely lightweight (eg editor++) this isn't it. OTOH, it has many advanced features such as really good intellisense, MPI debugging, inline graphics, integrated IPython, Profiling, etc etc. I'd take a look at the videos on the page & decide for yourself. This should give u a basic idea: http://www.youtube.com…

Thanks that was great. Looks very promising. Will try it out.

Re: Show HN: Python Tools for Visual Studio

#36

I hope the dev team at Jetbrains are looking at these features for future integration into PyCharm :) Good job PTVS team :) You're making me envious!

Thanks! PyCharm, Wing, KDevelop, IPython, Komodo, ... are all pretty darn good, each with its own strengths. It's a good time to be a Python developer!

Re: Show HN: Python Tools for Visual Studio

#37

Earlier releases emphasized NumPy/SciPy for IronPython. Is that effort dead? There were major holes, like no support for matplotlib, and I had kind of hoped that these would be filled over time, but now it looks as if the whole thing is moving into other directions?

David, our group funded that effort (development by Enthought) and the code is still out there and mostly functional, but it really never got traction. The 1st phase involved major surgery on the NumPy/SciPy libraries which they needed anyway, so some good came out of it. We'd love to see some kind volunteers finish the remaining "10" percent. It would be very useful to other .Net users as well... yeah, I shed a tear :(.

Re: Show HN: Python Tools for Visual Studio

#38
post #23
post #20

Earlier quoted context omitted.

We don't actually execute any code to figure this out, it's all based upon analysis of the code. Basically how it works is that we do an abstract interpretation of the code. To take this specific example first we analyze the a = {2:42} line, and the dictionary literal produces a new unique value in the system, and obviously we know it's key/value types. From there we'll analyze the "a.values" which will produce a new…

That's a nice example and good explanation. We're about in the same spot over at KDevelop and call a an "unsure (int, string)" there: http://simplest-image-hosting.net/png-0-n12983 Things like incremental reparsing on edits are handled by KDevelop's DUChain framework, which is shared among the language plugins. The Python language plugin actually reuses the original CPython parser to do the job, and then plugs CPytho…

Thanks, you're making me want to check out KDevelop to compare now. So far I thought we had the best Python intellisense hands down, but it sounds like you're a pretty good competitor :)

Re: Show HN: Python Tools for Visual Studio

#39
post #34

Really really impressive! Django development on windows is a PITA (compared to linux/mac), and all other (free) IDEs that I've taken a look at haven't really given me too much. I'll definitely give this a go for a test application to see what it does for me.

Thanks! Would love to get your feedback. Note that you can use PTVS for Django development/debugging & then push to a cloud of your choice (ie, not Azure) as well. See this link for some info: https://www.windowsazure.com/en-us/develop/python/tutorials/...

What are the clouds of your choice other than Azure? I don't see them mentioned in the tutorial. I'm on Windows but my Python projects are on a Ubuntu VM and I push to AWS, Racksace Coud, dedicated servers, etc. My project can also interact with the shell, phantomjs, node js, Redis, etc. How can I benefit from the VS IDE for my python projects? I've seen mentions of Linux clients but not sure what they mean. thanks. I'm dearly looking for a good IDE with debugging support.
Post reply on HN