Created
August 6, 2017 09:23
-
-
Save Sciorz/7de2406234a4a9fc5e41086f4353cc39 to your computer and use it in GitHub Desktop.
Ubuntu-xfce 下使用sublime编译Python3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"cmd": ["python3", "-i", "-u", "$file"], | |
"file_regex": "^[ ]File \"(...?)\", line ([0-9]*)", | |
"selector": "source.python", | |
"variants": | |
[ | |
{ | |
"name": "Run", | |
"cmd":["xfce4-terminal", "-x", "bash", "-c", "python3 -i -u '${file}';read -n1 -p '\npress any key to continue.'"] | |
// "cmd":["xfce4-terminal", "-x", "bash", "-c", "python3 -u '${file}';read -n1 -p '\npress any key to continue.'"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment