Mer*_*roz 3 python pip python-3.x
我想做我可以做的一样的事情python3.6 -m http.server。我想像这样运行我的单线纸。我该怎么做呢?现在,我有:
def run():
print('Great!')
if __name__ == '__main__':
run()
Run Code Online (Sandbox Code Playgroud)
我尝试python3.6 -m fastapi过了/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6: No module named test.__main__; 'test' is a package and cannot be directly executed,
与 python3.6 -m fastapi.run /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6: No module named test.run
| 归档时间: |
|
| 查看次数: |
950 次 |
| 最近记录: |