[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

How is it possible to use python in the non-gui version? I'm
curious, because I just started learning python.



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)

Attachment: pgp76vkoGCNr3.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]