Changes between Version 19 and Version 20 of Wisdom/Python
- Timestamp:
- 03/12/13 11:01:20 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Wisdom/Python
v19 v20 69 69 Another difference between IDL and Python, in the interactive mode, is that once you load a package or a module it stays loaded in the form you first indicated even if you say 70 70 71 > >> import <blah>71 >>> import <blah> 72 72 73 73 all over again. This is unlike in IDL where if you say 74 74 75 > >>.run <blah>75 >>>.run <blah> 76 76 77 77 it will reload all of your programming along with any changes you made. … … 79 79 To "reload" a package in interactive Python you, somewhat unsurprisingly, use: 80 80 81 > >> reload(<blah>)81 >>> reload(<blah>) 82 82 83 83
