Re: Beginners question

2009-07-17 Thread nohics nohics
When defining your class methods, you *must* explicitly list self as the first argument for each method, including __init__. When you call a method of an ancestor class from within your class, you *must* include the selfargument. But when you call your class method from outside, you do not specify

Regular exprssion for IRC messages

2009-07-17 Thread nohics nohics
Hello, When an IRC client receive a messages, this message in in a special format defined here: Message format in pseudo BNF( http://www.irchelp.org/irchelp/rfc/chapter2.html#c2_3_1 ). For example we can have: :mynickname!n=myusern...@41.2