interactive mode in python with ctypes???

digitnctu at gmail.com digitnctu at gmail.com
Fri Dec 28 02:59:18 EST 2007


On 12ÔÂ27ÈÕ, ÏÂÎç10•r05·Ö, digitn... at gmail.com wrote:
> 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 andinteractivemode ?
>
>  Thanks for Gabriel.
   sorry, I explain more precisely.
   "No result" means the callback function evCB will not be called as
it in batch mode.
   For callback function, are there difference for python interpretter
between batch and interactive mode ?






More information about the Python-list mailing list