Announcing Python Tools for Visual Studio 1.1 Alpha
- Posted: Nov 03, 2011 at 3:57 PM
- 44,089 Views
- 13 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- High Quality WMV (PC, Xbox, MCE)
- MP3 (Audio only)
- Mid Quality WMV (Lo-band, Mobile)
- High Quality MP4 (iPad, PC)
- MP4 (iPod, Zune HD)
- Mid Quality MP4 (WP7, HTML5)
Python Tools for Visual Studio 1.1 is now available in Alpha!
PTVS turns VS into an IDE for Python. PTVS a free, open source plug-in for Visual Studio 2010 from Microsoft's Developer Division. PTVS enables developers to use all the major productivity features of Visual Studio to build Python code using either CPython or IronPython and adds new features such as using High Performance Computing clusters to scale your code. Together with one of the standard distros, you can turn Visual Studio into a powerful Technical Computing IDE.
Here, we chat with PTVS architect Sean Mortazavi and lead developer Dino Viehland to learn all about this release and see some really cool demos. This is great news for Python developers! Tune in.
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Very good work! I use Python Tools a lot and it is awesome
Any plans to infer generic types too? That way you'd have the example with the function foo that just returns its argument infer the string methods for foo("bar") and the integer methods for foo(42), even if you have both in the same file. Languages like F# already infer types that way, perhaps their algorithm could be adapted.
This.....is.....awesome
Been a programmer and a scripter, this really makes sense.
I used to create tools for a charity I did Work Experience for, and WxPython was my primary GUI toolkit. Python is brill for admin scripting.
Having Python for Visual Studio is brilliant, what would be great is if
Visual Studio Express came with something like that.
Tom
Jules.dot: To support that we'd need to fully understand model the flow control of the program and then analyze calls based upon the Cartesian product of their arguments. Currently we're control flow independent and we just combine all of the types being passed to each argument together.
It's certainly something I'd love to do at some point but it's currently pretty low on the priority list. There would still be the issue of what completions to show within the method but we could continue to offer our intersection or union option there.
You can use it with the free VS Integrated Shell.
NewWorldMan is correct - see the installation instructions at:
http://pytools.codeplex.com/wikipage?title=Installation%20-%20details
1. click to download the free Integrated Shell
2. click to download PTVS
and you have a virtual "Visual Python 2010 Express" edition.
PTVS isn't "in the box", but this enables us to release much more frequently.
Cheers.
Sean, what you are doing is amazing. As I have said in my post, I'd love to get involved in this, even though I live in the UK. If you have ever used WxWidgets or PyGTK, a resource editor in Visual Studio for that type of stuff would be awesome. Give me plenty of time, and I can try working on a resource editor for WxWidgets at least, although I have no idea where to start in making toolbox like items for a windows editor.
Tominator2005: That'd be awesome!
For the toolbox you probably want to look at the IVsToolbox[2,3,4,5,6] interfaces, you can get an instance of one by calling Package.GetService(typeof(SVsToolbox)). I suspect you call AddItem w/ an IDataObject and then get that same object back when the user drops it onto your editor window.
This is a basic Python question ( I'm a newbie to Python )....
Do you have any links/documentation on how to call C# Classes/Methods from Python?
shaggygi: In general you do:
import clr
clr.AddReference('AssemblyName')
from Namespace import Type
For example:
import clr
clr.AddReference("System.Windows.Forms")
from System.Windows.Forms import Form
This requires using IronPython or installing Python.NET [http://pythonnet.sourceforge.net/] if you're using CPython.
From there you can do:
f = Form()
f.ShowDialog()
Or in other words you can interact with the types as if they're normal Python types.
When working w/ your own types the biggest gotcha is to make sure you make them public.
@Dino Viehland
Thanks! This will be a big help to get me started.
My background is a HND in Computing, and I only did a small amount of programming in that, which I regret. Is there anyway, I can contact you via email or messenger. This is gonna be tough job and I'll need occasional help.
This is really cool! Awesome IDE for Python!
Can Python be used or will it be available for Metro Style Apps in Windows 8? Can it talk to the WinRT?
Long live Python and the Knights who say Ni!
I know you can't reveal everything you are working on. But you like to hear feedback from developers about what they would like to see. I would like to see a version of Python that integrates with the WinRT, i.e. that can be used with Metro Style Apps.
Remove this comment
Remove this thread
close