Reloading modules

Oleg Broytmann phd at phd.pp.ru
Thu Feb 21 07:18:25 EST 2002


On Thu, Feb 21, 2002 at 12:02:08PM +0000, Michael Hudson wrote:
>     if file.endswith("c"):
>         file = file[:-1]

if file.endswith("c"):
   file = file[:-1]
elif file.endswith("o"):
   file = file[:-1]

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.




More information about the Python-list mailing list