create python process

2005-04-25 Thread [EMAIL PROTECTED]
Hello, I would like to create python processes instead of thread. Can anyone give me an example or site which shows a tutorial about how to create processes ? Sincerely Yours, Pujo -- http://mail.python.org/mailman/listinfo/python-list

Re: Injecting code into a function

2005-04-25 Thread Bengt Richter
On 25 Apr 2005 03:32:38 -0700, "George Sakkis" <[EMAIL PROTECTED]> wrote: >Is there a general way of injecting code into a function, typically >before and/or after the existing code ? I know that for most purposes, >an OO solution, such as the template pattern, is a cleaner way to get >the same ef

3046 monografia 3046

2005-04-25 Thread monografia
Monografias completas a partir de 250,00 ! monografia administração direito turismo economia letras pedagogia monografias teses tese. Sua monografia a partir de 250,00 http://monografiadireta.rg3.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Injecting code into a function

2005-04-25 Thread George Sakkis
> Oh, I overlooked this. Then the solution becomes simple: > >sys._getframe().f_trace > > Test: > > >>> an = Analyzer() > >>> sys.settrace(an.trace_returns) > >>> sys._getframe().f_trace > 0x010015D0>> Does this work for you non-interactively ? I tried running it from a script or importing it

Re: Import DiscID on Windows

2005-04-25 Thread Do Re Mi chel La Si Do
Hi ! Look ctypes, for call the DLLs @-salutations -- Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: web based file manager in python

2005-04-25 Thread Ksenia Marasanova
> Ksenia - I recently came across this python web-based FM: > > http://snakelets.sourceforge.net/filemgr/index.html > > It is by Irmen De Jong, the author of Snakelets. > Looks good! Thank you very much :) -- Ksenia -- http://mail.python.org/mailman/listinfo/python-list

Re: What's do list comprehensions do that generator expressions don't?

2005-04-25 Thread Bengt Richter
On Mon, 25 Apr 2005 16:48:46 -0400, Bill Mill <[EMAIL PROTECTED]> wrote: >On 25 Apr 2005 23:33:48 +0300, Ville Vainio <[EMAIL PROTECTED]> wrote: >> > "Jeremy" =3D=3D Jeremy Bowers <[EMAIL PROTECTED]> writes: >>=20 >> Jeremy> On Sun, 24 Apr 2005 22:59:12 -0700, Robert Kern wrote: >> >>

Re: Injecting code into a function

2005-04-25 Thread George Sakkis
> I'm not clear on what your real goal is, but if you just want a snapshot > of what locals() is just before exiting func, that could be done with > a byte-code-hacking decorator with usage looking something like > > #func defined before this > func_locals = {} > @getlocals(func, func_l

<    1   2   3