Komodo IDE: '__file__' is not defined when debugging

fortepianissimo fortepianissimo at gmail.com
Tue Jan 3 12:32:17 EST 2006


This is a question to all of you who use Komodo IDE for development:
when I tried to debug my script which uses __file__ to get the absolute
path to the file, Komodo complained that the variable is not defined.

Anyway to work around this? (without changing the code)

Or if I need to change the code, how do I achieve the same thing I
wanted? Thanks in advance!




More information about the Python-list mailing list