Talk:Python Examples
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)
Just noticed that whoever uploaded the code ran into the same issue as me in trying to make the single quote marks show up, so I have edited the page after all. Mia (talk) 18:17, 17 August 2015 (BST)