Posted By

magicrebirth on 07/12/10


Tagged

python console reload


Versions (?)

Reload code in console


 / Published in: Python
 

URL: http://www.siafoo.net/article/59

  1. import test
  2. test.answer_to_life_the_universe_and_everything
  3.  
  4. # Whoops that's not right, I'd better edit the module....
  5.  
  6. reload(test)
  7. test.answer_to_life_the_universe_and_everything
  8. 842

Report this snippet  

You need to login to post a comment.