Re: python newbie
- From: Paul Hankin <paul.hankin@xxxxxxxxx>
- Date: Sat, 03 Nov 2007 21:43:34 -0000
On Nov 3, 8:35 pm, Paul Rubin <http://phr...@xxxxxxxxxxxxxx> wrote:
Duncan Booth <duncan.bo...@xxxxxxxxxxxxxxx> writes:
This isn't perfect (global variables have to be set before hooking the
module) but it sort of works:
--------- callable.py ---------------
"""How to define a callable module""" ...
Oh neat, thanks, I'll have to file that one away, and use it now and then.
I'm intrigued - when would you want a callable module?
--
Paul Hankin
.
- Follow-Ups:
- Re: python newbie
- From: Paul Rubin
- Re: python newbie
- References:
- python newbie
- From: Jim Hendricks
- Re: python newbie
- From: Bjoern Schliessmann
- Re: python newbie
- From: Bruno Desthuilliers
- Re: python newbie
- From: Hendrik van Rooyen
- Re: python newbie
- From: Steven D'Aprano
- Re: python newbie
- From: Duncan Booth
- Re: python newbie
- From: Paul Rubin
- Re: python newbie
- From: Duncan Booth
- Re: python newbie
- From: Paul Rubin
- python newbie
- Prev by Date: Re: problem with iteration
- Next by Date: Re: how to fill many data strings from socket.recvfrom()
- Previous by thread: Re: python newbie
- Next by thread: Re: python newbie
- Index(es):