ANN: PyLogo 0.1
Fredrik Lundh
fredrik at pythonware.com
Wed Nov 19 08:15:56 EST 2003
Peter Hansen wrote:
> > Just tried it, and this is what I get
> > ++++++++++++++++++
> > Traceback (most recent call last):
> > File "/usr/bin/pylogo", line 6, in ?
> > if os.path.basename(os.path.dirname(__file__)) == 'scripts':
> > NameError: name '__file__' is not defined
> > ++++++++++++++++++
>
> Probably a sign that it requires Python 2.3 or something...
or, in older versions, that you're running something as a script when
it's designed to be imported as a module.
</F>
More information about the Python-list
mailing list