interactive mode in python with ctypes???

digitnctu at gmail.com digitnctu at gmail.com
Thu Dec 27 09:05:16 EST 2007


On 12ÔÂ27ÈÕ, ÏÂÎç4•r40·Ö, "Gabriel Genellina" <gagsl-... at yahoo.com.ar>
wrote:
> En Wed, 26 Dec 2007 12:57:44 -0300, <digitn... 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

"doesn't work" means there is no result without exception. The python
interpretter still run without complains; but when running under batch
mode it run as the expectation.  Are there difference for python
interpretter between batch mode and interactive mode ?

 Thanks for Gabriel.



More information about the Python-list mailing list