On Apr 4, 2005 11:10 AM, Steve Holden <[EMAIL PROTECTED]> wrote:
> Tim Jarman wrote:
> > [EMAIL PROTECTED] wrote:
> >
> >
> >>Hi,
> >>
> >>I am a beginner using the python interpreter. To reduce typing effort,
> >>I created a module called "aliases.py" containing some aliases for
> >>objects I commonly use like -
> >>
> >>aliases.py :
> >>
> >>
> >>import filecmp, os, commands
> >>
> >>op = os.path
<snip>
> > By the way, are you aware of the import ... as ... idiom?
> > e.g. import os.path as op
> >
> 
> This would, of course, require the user to qualify the names by
> prefixing them with "op.".
> 

What the OP listed above requires that too.

Peace
Bill Mill
bill.mill at gmail.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to