+ 1

How do i use sublime with python

12th Feb 2017, 11:15 AM
Shakil Masood
Shakil Masood - avatar
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.
12th Feb 2017, 3:00 PM
Don
Don - avatar
+ 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.
12th Feb 2017, 2:57 PM
Don
Don - avatar
+ 1
thnx i will try
12th Feb 2017, 3:01 PM
Shakil Masood
Shakil Masood - avatar
0
i have done everything but the output does not show up
12th Feb 2017, 2:23 PM
Shakil Masood
Shakil Masood - avatar
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.
12th Feb 2017, 2:43 PM
Don
Don - avatar
0
i have done all that..but still there i no output
12th Feb 2017, 2:44 PM
Shakil Masood
Shakil Masood - avatar
0
do u recommed any other sofware..which is better
12th Feb 2017, 2:58 PM
Shakil Masood
Shakil Masood - avatar
0
Choose python from bottom right corner
12th Feb 2017, 4:42 PM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar