Difference between executing a python script as an executable “./myscript.py” or with “python myscript.py”

前端 未结 0 1126
北海茫月
北海茫月 2021-01-18 12:33

As the previous question here: Print a single byte as hex in Python 3, I found the script works well if I execute it as an executable; however, if I ran python

相关标签:
回答
  • 消灭零回复
提交回复
热议问题