Shuaib wrote:
> Hey!
>
> I am getting this exception.
>
> xml.parsers.expat.ExpatError
>
> But I am not able to catch it with "except
> xml.parsers.expat.ExpatError:" It says "NameError: global name 'xml' is
> not defined".
>
> I am also not able to catch it with "except ExpatError:" Gives
> "N
Can someone point me to some documentation as to why pdb breakpoints are
not working on 'pass' statements (at least on 2.4.1)?
I was used to that working in the 2.2.3 build I was using up to this
last year. I just cant seem to find anything on it.
Thanks!
--
http://mail.python.org/mailman/list
Maurice Ling wrote:
Hi,
I'm a postgraduate and my project deals with a fair bit of text
analysis. I'm looking for some libraries and tools that is geared
towards text analysis (and text engineering). So far, the most
comprehensive toolkit in python for my purpose is NLTK (natural language
tool
max(01)* wrote:
hi.
is there a way to define a class method which prints the instance name?
e.g.:
>>> class class_1:
... def myName(self):
... what should i do here
...
>>> instance_1 = class_1()
>>> instance_1.myName()
'instance_1'
>>>
bye
macs
macs,
The object instance doesn't k