Namespace Qualification Question

Craig McLean mcleanc at cpsc.ucalgary.ca__no_spam__
Fri Mar 22 13:47:06 EST 2002


I've been messing around with python namespaces and I've run into 
something that I haven't been able to answer.

Is there a module assosciated with the file you started the interpreter 
with, and if there is what is it's name?  For instance

 > python qux.py

I would have thought that there would be a qux module, and that it's 
name would be stored in the __name__ builtin.

If I was using the interpreter interactively would that change things?




More information about the Python-list mailing list