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
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor