Delete a function
paul at subsignal.org
Wed Mar 21 18:45:01 CET 2007
> On Mar 21, 11:37 am, Steve Holden <s... at holdenweb.com> 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
> Thanks, tried that now and get nameError: with the following.
> import sys
> from CompactTest import CompactTest
> from compactLogin import dvlogin
you haven't imported compactLogin but dvlogin from the compactLogin
...do something with compactLogin.dvlogin...
More information about the Python-list