[Tutor] how can i reload a module under win2000

lumbricus@gmx.net lumbricus@gmx.net
Sat, 7 Apr 2001 19:38:17 +0200


On Sat, Apr 07, 2001 at 11:43:21PM +0800, 刘斌 wrote:
> 1 ,i use win2000+idle(python gui),i have import a module when i alter the file ,should i reload the module by "import" ,i have try so,but it seems not work,who can help me ?
reload(module)

> 2 in my file i use function int() and str(),but when i run the file there is some error :
> ValueError: invalid literal for int(): 
> 
> 
> thanks a lot!

HTH
> 
> _____________________________________________
> 情圣降临263商城   http://shopping.263.net/fs/hododo/index.htm
> 清凉一夏,空调热卖  http://shopping.263.net/hotsale/aircondition/index.asp
> 
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
> 

-- 
Tact in audacity is knowing how far you can go without going too far.
		-- Jean Cocteau