Skip to content

Instantly share code, notes, and snippets.

@Sciorz
Created August 6, 2017 09:23
Show Gist options
  • Save Sciorz/7de2406234a4a9fc5e41086f4353cc39 to your computer and use it in GitHub Desktop.
Save Sciorz/7de2406234a4a9fc5e41086f4353cc39 to your computer and use it in GitHub Desktop.
Ubuntu-xfce 下使用sublime编译Python3
{
"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