Global variables and modules
Alex Martelli
aleaxit at yahoo.com
Fri Dec 24 14:03:53 EST 2004
Brian van den Broek <bvande at po-box.mcgill.ca> wrote:
> I'm quite fond of the
>
> import really_long_module_name as rlmn
...
> I don't think the relevant section of Nutshell mentions this idiom.
> However, I don't have my copy with me (seasonal travel, and all), so
> apologies if my memory leads me astray.
Apologies accepted -- it's right on p. 117, at the first mention of the
import statement. Maybe I'm not giving it enough prominence, though,
nor advice about how to use it...
Alex
More information about the Python-list
mailing list