[Tutor] Fw: 2) 'WHICH MULTI'

ALAN GAULD alan.gauld at btinternet.com
Sat Mar 31 01:17:51 CEST 2007

One of my tutorial users has come upon a really weird bug.

He has sent a transcript oif his session. Notice that wx 
is not defined yet doing help(wx) produces a strange message.
The message ius actually something he wrote as part of a 
wxPython application exercise, but this is showing up 
on a fresh start of Python.

I am completely baffled. Does anyone have any ideas? 
Any similar experiences?

Alan G.

----- Forwarded Message ----

Sorry for taking so long,i had problems accessing my email.This is the code:

Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on 
Type "help", "copyright", "credits" or "license" for more information.
>>>print wx
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'wx' is not defined
>>>dir(wx)       <---- this was supposed to be just dir() but I doubt it would have helped
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'wx' is not defined
Type help() for interactive help, or help(object) for help about object.

Welcome to Python 2.5!  This is the online help utility.

<snipped usual help verbiage....>

help> wx
which multi       <------- This is the string from his wx app, Alan G.
problem in <string> - <type 'exceptions.SyntaxError'>: unexpected EOF while 
parsing (<string>, line 0)


FREE pop-up blocking with the new MSN Toolbar - get it now! 

New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. 

More information about the Tutor mailing list