python - Edit file while executing in PyCharm -


i working on project in pycharm involves extensive computations, long runtimes.

i following: come version of code; run it, edit code more; however, run started before still only uses old version of code (i.e. snapshot @ point of running).

is possible in pycharm?

i run project selecting run 'projectname' option run menu.

i understand run works pre-compling .py files .pyc files stored in __pycache__ folder. however, don't know following.

  1. will saving file in pycharm cause .pyc files replaced new versions? want avoid since want 1 run use 1 snapshot of source tree, not multiple versions @ different points of execution.
  2. what if python class needed, say, 20 minutes after run has started. .pyc file created @ beginning of run, or on-demand (where corresponding .py file might have changed)?

i use pycharm in classes. experience required code, including imported modules, compiled @ runtime. if change in suite need start running scratch take effect.

i'm not professional programmer experience small apps. i'd love hear form expert.


Comments

Popular posts from this blog

ios - UITEXTFIELD InputView Uipicker not working in swift -

Hatching array of circles in AutoCAD using c# -