+ 1
How do i use sublime with python
8 Antworten
+ 2
Well, I do in fact like sublime 3. It's a fast light weight text editor with plugins on steroids but if I had to recommend another for productivity. It would be an IDE. Use Pycharm.
+ 1
When you're making your build be sure that you have the exact path to your python executable.
{ "cmd": ["c:/Python32/python.exe", "-u", "$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.python" }
The example above is something you can copy. When you've copy it be sure to replace that Python path with your python executable path. Also, this has to be valid JSON so you must use double quotes and so on. The example above is a Windows build, but if you're on OS just change the path.
Also if you are on Windows then you might of noticed I'm using forward slashes instead of back slashes, that has to be done.
+ 1
thnx i will try
0
i have done everything but the output does not show up
0
You're going to have to make a build in order to run Python code through sublime. I'm not sure what operating system you're on but first I would advise you to look up "Python builds sublime 3" and you should come across many other builds explaining what does what. If you still can't find it, I'll post mine.
0
i have done all that..but still there i no output
0
do u recommed any other sofware..which is better
0
Choose python from bottom right corner