Velocity Reviews

Velocity Reviews (
-   Python (
-   -   sys.argv[0] - 'module' object has no attribute 'argv' (

=?ISO-8859-1?Q?Thomas_N=FCcker?= 06-30-2003 02:07 PM

sys.argv[0] - 'module' object has no attribute 'argv'

I have the following problem within a program, that is using the
python dll. With this program i want to use Tkinter, but after setting
all paths i get the following error:

Traceback (most recent call last):
File "c:/mtt/bg_private_area/", line 32 in ?

File "C:\Prog1\", line 324 in ListSelection
root = Tk()

File "C:\Prog1\lib\lib-tk\", line 1491, in __init__
baseName = os.path.basename(sys.argv[0])

AttributeError: 'module' object has no attribute 'argv'
Redirected about to stop, stderr

sys and os are internal modules i didn't touch - so i think it must be
a problem of the configuration of Python or the corresponding
It would be great if somebody could help me with this problem!


All times are GMT. The time now is 09:03 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.