时间:2021-07-01 10:21:17 帮助过:22人阅读
1. PyCharm, IDE有个Project setting图标,是给run图标做配置的,配置run file为myfile.py
2.
from make.py import do
def main():
do()
if __name__ == '__main__':
main()
# --------------------------------------
3.
mic@ubt: ~$ ./myfile.py
> Hello, world!