[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnubg] idle.PyShell
From: |
Achim Mueller |
Subject: |
[Bug-gnubg] idle.PyShell |
Date: |
Sat, 1 Nov 2003 18:13:17 +0100 |
User-agent: |
Mutt/1.5.4i |
last one for tonight (perhaps):
Using python from the gui isn't possible, right?!
I get this error:
>import idle.PyShell; idle.PyShell.main()
Traceback (most recent call last):
File "<string>", line 1, in ?
ImportError: No module named idle.PyShell
I checked the modules in a Python shell, there is only a module
called "idlelib". There is also a package called "python-idle"
with a python-script "/usr/bin/idle" that has this context:
from idlelib.PyShell import main
main()
How is it possible to use python in the non-gui version? I'm
curious, because I just started learning python.
Ciao
Achim
--
achim mueller, anne-frank-str. 25, D-48431 rheine
+49 (0)5971 83767, +49 (0)163 8458340
-------------------------------------------------
pgp/gnupg key: 1024D/5DF3A722 (wwwkeys.de.pgp.net)
pgp76vkoGCNr3.pgp
Description: PGP signature
- [Bug-gnubg] idle.PyShell,
Achim Mueller <=