Hello...
So,
you want to use Sublime Text 3 (one of the best editor for coding for what I know) ... and you want, for some reason, understandable reason, let me say it,to see the result of your code immediately into ST3 (Sublime Text 3) itself ... it seems right...
What, then?
If you are using a linux version (I am using xubuntu 16.04) write this:
{
"cmd": ["/usr/bin/python3", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python"
}
then save this text as python3.sublime-build packages directory
If you have windows you should write instead:
After you saved the file, go in tools (in the ST3 menu) and choose build system, you should see python3. Choose it.
You can give a different name to the file instead of python3 if it conflicts with some other configuration.
See ya soon
So,
you want to use Sublime Text 3 (one of the best editor for coding for what I know) ... and you want, for some reason, understandable reason, let me say it,to see the result of your code immediately into ST3 (Sublime Text 3) itself ... it seems right...
What, then?
If you are using a linux version (I am using xubuntu 16.04) write this:
{
"cmd": ["/usr/bin/python3", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python"
}
then save this text as python3.sublime-build packages directory
If you have windows you should write instead:
{
"cmd": ["c:/Python32/python.exe", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python"
}
Check were your python version is... and change the first line in case your version is in a different directory (find the python.exe file).After you saved the file, go in tools (in the ST3 menu) and choose build system, you should see python3. Choose it.
You can give a different name to the file instead of python3 if it conflicts with some other configuration.
See ya soon
Comments
Post a Comment