[Tutor] (no subject)
bob gailer
bgailer at gmail.com
Sun May 13 04:28:12 CEST 2012
On 5/12/2012 6:34 PM, Keitaro Kaoru wrote:
> hey i keep having a problem with adding commands.. i get this error
> message
>
> Traceback (most recent call last):
> File "bot.py", line 23, in <module>
> import modules.core, modules.ai <http://modules.ai>, modules.dict,
> modules.fun, modules.kc, modules.games, modules.lulz2,
> modules.modding, modules.meta, modules.mpd, modules.post,
> modules.poll, modules.util, modules.yt <http://modules.yt>
> File "/home/digest/digest/modules/core.py", line 170
> def pm(mgr, room, user, msg, args):
> ^
> SyntaxError: invalid syntax
>
Thanks for posting the traceback. All we need is to see more of the
program (especially the lines before the one you posted. It is always a
good idea to post more of the code regardless of the problem.
--
Bob Gailer
919-636-4239
Chapel Hill NC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120512/8524034f/attachment-0001.html>
More information about the Tutor
mailing list