Advertisement
julong

Sublime text3 build system for python3

May 20th, 2018
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.39 KB | None | 0 0
  1. /*
  2. Build System -> New Build System
  3. */
  4. {
  5.     "cmd": ["python3", "-i", "-u", "$file"],
  6.     "file_regex": "^[ ]File \"(...?)\", line ([0-9]*)",
  7.     "selector": "source.python"
  8. }
  9. /*
  10. save and exits python3.sublime-build
  11.  
  12. now inside build system you can found " python3 "
  13. */
  14.  
  15. /*
  16. create some demo file extension .py
  17. demo.py
  18. */
  19. import sys
  20. print(sys.version)
  21. /*
  22. now press command + b
  23. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement