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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -