[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Python on Mac OS X

From: Joern Thyssen
Subject: Re: [Bug-gnubg] Python on Mac OS X
Date: Fri, 13 Feb 2004 08:56:15 +0000
User-agent: Mutt/1.4.2i

On Fri, Feb 13, 2004 at 03:46:37AM +0100, Olivier Baur wrote
> Hi.
> First of all, I'm a total beginner with Python.
> I'd like to try to use Python 2.3 with gnubg on Mac OS X, but I can't 
> figure out what to do.
> Should I be using the command-line Python utility? When I select in 
> gnubg the Window > Python (IDLE) menu item, I get the following output 
> :
> >>import idle.PyShell; idle.PyShell.main()
> >
> >Traceback (most recent call last):
> >  File "<string>", line 1, in ?
> >ImportError: No module named idle.PyShell
> I've been browsing the www.python.org website, but couldn't try some 
> info help me find out what to do next :-)

The command used for starting IDLE changes between each version of
python, so "import idle.PyShell; idle.PyShell.main()" may not work with
your version.

If you've installed IDLE you'll have a script somewhere that starts
IDLE. Can you find that file and post the contents?


Attachment: pgpu3sSkMdVFp.pgp
Description: PGP signature

reply via email to

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