How do I execute a python file beginning in a specific code line? -
i have simulation in python have run, half way end got error. have fixed error. want execute same file, beginning in line of error. how can that? execfile, far looked doesn't that...
you don't.
the easiest solution comment out intervening lines, or put them inside if false: block.
you save appropriate portion of code new file , run instead.
any of these operations should trivial in editors.
Comments
Post a Comment