interactive mode in python with ctypes???

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Thu Dec 27 03:40:52 EST 2007


En Wed, 26 Dec 2007 12:57:44 -0300, <digitnctu at gmail.com> escribió:

>      libdll.dll is a third-party library. The below code segment will
> run well under the batch mode(ie. python test.py 11060)
>      but when I type sequencially it doesn't work as usual.  Can any
> give me a hand??

Define "doesn't work as usual"; at least describe what actually happens  
and what you expected to happen instead. If you get an exception, post the  
full traceback.

>       run(string.atoi(sys.argv[1]))

string.atoi is deprecated eons ago; use int() instead

-- 
Gabriel Genellina




More information about the Python-list mailing list