Blogger Widgets

Social WEB

HOW TO RUN PYTHON PROGRAMS IN VISUAL STUDIO 2010


There are so many IDEs available online to run python programmes but if you guys are using Visual Studio then you don't have to use any specific IDE to run python programmes.There are some enhancement tools provided by Microsoft to run different languages on the same platform.After all there are more than 40 languages available to run on Visual Studio, so just avail this facility..

Let's get started..

First of all you should have some setups-

1. Visual Studio 2010 ( I have ultimate edition)

Because we are going to run python programmes so we need a compiler for it.IronPyhton console provides the environment to run python programmes.IronPython is a combination of  python and .net.If you guys want to know more about IronPython.See this post- IronPython Intro

2. IronPython Console -download from here

Finally we need python tools to include python in other languages section inside Visual Studio.

3. Python Tools -download from here

 So, after installing all these things, your visual studio will look something different.

As you can see here, the extensibility Visual Studio provides.You are not bounded to write just python applications.You can write IronPython applications also.And if you guys aware of the basics of WPF and silvelight then you can also work on it .

Simple demo-

(Hit F5 to see the output in console)