Jump to content
Sanchez

[ Dead Download Link ] Coding in Python in Visual Studio [ We Need You ]

Recommended Posts

Hi everyone,
 
Microsoft 3 years ago in 2011 released the first version of the Python Tools for Visual Studio and they are still working on it,. Now everybody thinking how is it better to use Visual Studio instead of Notepad++? My opinions are:

  • Better Syntax highlighting
  • IntelliSense
  • Many useful options like these: Go To Definition, Find All References
  • Visual Studio GUI is amazing, It's dream to work with it

 

Example of the Syntax highlighting:
 
7pQlU.png
 
Example of the Find All References:
 
7pQnI.png
 
Example of the IntelliSense:
 
7pPrN.png
 
How to download & install:
 
Go to the Python Tools for Visual Studio Codeplex page and follow the tutorial or just follow these steps:
 
1. Download Visual Studio, Express version does not supported!
2. Install PTVS for for your Visual Studio version: 2010, 2012, 2013
3. Install Python 2.7

That's all, now you are ready to import the py files:
 
Extract root, locale and uiscript or anything you wan't and separate them to folders. Example:
 
7pPMa.png
 
Open Visual Studio and create a new project using the "From Existing Python code" option.
 
a1_2014_3_10_3j8k9ti56f.jpg
 
On the next window add the path of the 3 folders.
 
7pQ2c.png
 
Now click on Next and select Python 2.7 from the dropdown list.
 
7pQ54.png
 
That's all, now Visual Studio creating your new project with the added files.
 
7pQ8O.png


If you have any question or suggestion, please just reply to this topic.
 
Kind Regards,
Sanchez

  • Love 24

Share this post


Link to post
Guest

Im using this for months now and i mus say it doesnt support the korean letter very well, but once you convert them it works fine.

Thanks for mentioning this, there also new versions for 2k13 and early access alphas.

Kind regards

MartPwnS

Share this post


Link to post

I was using pyCharm till now, but i think i will switch to visual studio now.

Thanks!

  • Love 1

Share this post


Link to post

I still love the way Sublime Text handles projects and all the commands and shortcuts you have there. I do agree those features you point out are quite useful but I still prefer ST (Over Notepad++ as well). Give it a try, it's awesome :P

Share this post


Link to post

that's very very interesting, I didn't know about that before. Thank You Very Much, Sanchez :)

Share this post


Link to post

is it possible to change encoding format? everytime i import a .py file this error appears:

gVtEc.png

Share this post


Link to post

You didn't change it to the right encoding. Try with the korean ones, I don't recall which one was it but one works

Share this post


Link to post

You didn't change it to the right encoding. Try with the korean ones, I don't recall which one was it but one works

 

Yeah i know that there is an error with encoding, but my question was where i can change the encoding type.

Share this post


Link to post

Ah, sorry for not understanding then.

 

Right click on the file > Open with.

You'll see something like

 

bzXC6Xf.png

 

After clicking on the desired one and hitting ok, you will get prompted for the encoding. Auto detect doesn't work. You want either Korean EUC or Korean ISO, one of the two worked, the other didn't (If I remember correctly Korean (949) was not working properly).

  • Love 1

Share this post


Link to post

Ah, sorry for not understanding then.

 

Right click on the file > Open with.

You'll see something like

 

bzXC6Xf.png

 

After clicking on the desired one and hitting ok, you will get prompted for the encoding. Auto detect doesn't work. You want either Korean EUC or Korean ISO, one of the two worked, the other didn't (If I remember correctly Korean (949) was not working properly).

 

worked fine for me =) thanks

 

Share this post


Link to post

Forget VisualStudio, it's just shit, except for C++, there is nothing better (Writing a Program with Eclipse is a pain, except for Java (forgot eclipse, it's good for java, but java is too shit))

For Python there is only one real and good IDE: http://www.jetbrains.com/pycharm/

 

 

Share this post


Link to post

...or support Microsoft with using Dreamspark or MSDN, instead of using pirated keys.

  • Love 1

Share this post


Link to post
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.