On Mar 21, 11:37 am, Steve Holden <[EMAIL PROTECTED]> wrote: > gtb wrote: > > After a function has been imported to a shell how may it be deleted so > > that after editing it can reloaded anew? > > Use the built-in reload() function to reload the module that defines the > function. > > regards > Steve > -- > Steve Holden +44 150 684 7255 +1 800 494 3119 > Holden Web LLC/Ltd http://www.holdenweb.com > Skype: holdenweb http://del.icio.us/steve.holden > Recent Ramblings http://holdenweb.blogspot.com
Thanks, tried that now and get nameError: with the following. import sys sys.path.append("c:\maxq\testScripts") from CompactTest import CompactTest from compactLogin import dvlogin reload(compactLogin) -- http://mail.python.org/mailman/listinfo/python-list