Changes between Version 19 and Version 20 of Wisdom/Python


Ignore:
Timestamp:
03/12/13 11:01:20 (13 years ago)
Author:
jps@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Wisdom/Python

    v19 v20  
    6969Another 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
    7070
    71 > > > import <blah>
     71 >>> import <blah>
    7272
    7373all over again. This is unlike in IDL where if you say
    7474
    75 > > >.run <blah>
     75 >>>.run <blah>
    7676
    7777it will reload all of your programming along with any changes you made.
     
    7979To "reload" a package in interactive Python you, somewhat unsurprisingly, use:
    8080
    81 > > > reload(<blah>)
     81 >>> reload(<blah>)
    8282
    8383