Need to restart python in Terminal every time a change is made to script

前端 未结 5 638
南旧
南旧 2021-01-12 07:57

Every time I make a change to a python script I have to reload python and re-import the module. Please advise how I can modify my scripts and run then without having to rela

5条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-12 08:48

    Do you mean that you enter script directly into the interactive python shall, or are you executing your .py file from the terminal by running something like python myscript.py?

提交回复
热议问题