【发布时间】:2021-08-17 05:59:03
【问题描述】:
我读过这篇文章: https://www.geeksforgeeks.org/setting-up-sublime-text-for-cpp-competitive-programming-environment/ 我想用python做同样的事情,但结果并不像预期的那样,有什么办法可以做同样的事情吗?
{
"cmd":["C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python39-32\\python.exe", "-u", "$file",
"-o", "${file_base_name}.exe",
"&&", "${file_base_name}.exe<inputf.in>outputf.out"],
"file_regex": "^[ ]File \"(...?)\", line ([0-9]*)",
"selector": "source.python"
}
【问题讨论】:
-
使用 MinGW 编译器的 C++ 文章。试试这个:towardsdatascience.com/run-python3-on-sublime-text-5949e55450b2
-
好吧,一方面,使用 Python 运行脚本不会创建可执行文件。
标签: python sublimetext3