Basic 'import' problem
Mark McEahern
mark at mceahern.com
Sat Feb 7 14:39:27 EST 2004
Frantisek Fuka wrote:
> This thing keeps bugging me. It's probably some basic misunderstanding
> on my part but I am stumped. Let's say I have two Python files:
> file.py and file2.py. Their contents is as follows:
You have circular references. The short answer is, "Don't do that." ;-)
Also, "file" is not a good name for a module since you clobber the
builtin file.
Cheers,
// m
More information about the Python-list
mailing list