Talk:Python Examples

From Open Rail Data Wiki
Revision as of 17:13, 17 August 2015 by Mia (talk | contribs) (Created page with "==Syntax Error Line 25== I attempted this code but ran into a syntax error on line 25: <nowiki>mq.set_listener(, Listener(mq)) ^</nowiki> I corrected this by ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax Error Line 25

I attempted this code but ran into a syntax error on line 25:

mq.set_listener(, Listener(mq))
                ^

I corrected this by changing to:

mq.set_listener('', Listener(mq))

It seems to be running correctly now with Python 2.7.5; could someone confirm before I change the main page? Mia (talk) 18:13, 17 August 2015 (BST)