sorry, ist ein eingebetteter Interpreter (bf2)
bei os.path kommt folgendes:
Traceback (most recent call last):
File "python\bf2\__init__.py", line 4, in ?
print "You are running",os.path.split(__file__)
AttributeError: 'module' object has no attribute 'path'
Ist es nicht möglich diese ...
Die Suche ergab 3 Treffer
- Mittwoch 20. Februar 2008, 14:43
- Forum: Allgemeine Fragen
- Thema: AttributeError: 'module' object has no attribute 'argv'
- Antworten: 6
- Zugriffe: 1533
- Mittwoch 20. Februar 2008, 14:35
- Forum: Allgemeine Fragen
- Thema: AttributeError: 'module' object has no attribute 'argv'
- Antworten: 6
- Zugriffe: 1533
- Mittwoch 20. Februar 2008, 14:10
- Forum: Allgemeine Fragen
- Thema: AttributeError: 'module' object has no attribute 'argv'
- Antworten: 6
- Zugriffe: 1533
AttributeError: 'module' object has no attribute 'argv'
Hallo,
Hab mich bisher immer via suche und co durch gerungen ... jetzt aber weis
ich nicht was ich machen soll, vielleicht könnt ihr mir helfen.
Beim ausführen des folgen codes
import sys
print "You are running",sys.argv[0]
kommt folgender fehler:
Traceback (most recent call last ...
Hab mich bisher immer via suche und co durch gerungen ... jetzt aber weis
ich nicht was ich machen soll, vielleicht könnt ihr mir helfen.
Beim ausführen des folgen codes
import sys
print "You are running",sys.argv[0]
kommt folgender fehler:
Traceback (most recent call last ...