On 31/01/14 09:57, Ian D wrote:

import longModuleName  as lmn

or

lmn = longModuleName

creating an alias or assigning to a variable..... or both?

variables in Python are just names.
There is no concept of an alias as such, its just another
name referring to the same object.

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to