On 12月27日, 下午10�r05分, [EMAIL PROTECTED] wrote:
> On 12月27日, 下午4�r40分, "Gabriel Genellina" <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > En Wed, 26 Dec 2007 12:57:44 -0300, <[EMAIL PROTECTED]> 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 ?



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to