On Sat, Aug 13, 2011 at 3:58 AM, Steven D'Aprano wrote:
> Michael Scharf wrote:
>>
>> Sent: Friday, August 12, 2011 3:54 PM
>>
>> Hi List,
>>
>> I'm am not quite at the point of needing this, but where would I go to
>> ask a question like
Sent: Friday, August 12, 2011 3:54 PM
Hi List,
I'm am not quite at the point of needing this, but where would I go to
ask a question like "Why is the OpenCalais Python API not returning
all fields when I do x or y" or "Has anyone built their own Python
API for OpenCalais"? Stack Overflow? Or is
Hi List,
I'm am not quite at the point of needing this, but where would I go to
ask a question like "Why is the OpenCalais Python API not returning
all fields when I do x or y" or "Has anyone built their own Python
API for OpenCalais"? Stack Overflow? Or is there something
Python-specific?
Than
Okay, we now have a dog named Fluffy, which is just one instance of
> our dog class. With the way you would want to do things, I would have
> to say
> bark(f)
> But what is bark? Where is it defined? You can see it is in the dog
> class, but Python cannot; you passed a dog instance to bark(), but
>
Hi,
Why is it
list0.extend(list1)
and not
extend(list 0, list1)
or
stri0 = stri0.strip()
and not
stri0 = strip(stri0)
Why have arguments on the left side at all, when usually the dot notation
left to right implies a hierarchical relation: file.class or class.method
Hi Evert,
Thank you. I should have figured "groups" were the paren groups. I see it
clearly now. And your solution will work for the larger thing I'm trying to
do --- thanks.
And yes: I know this matches some non-date-like dates, but the data is such
that it should work out ok.
Thanks again,
Hi all,
I have a regex that matches dates in various formats. I've tested the regex
in a reliable testbed, and it seems to match what I want (dates in formats
like "1 Jan 2010" and "January 1, 2010" and also "January 2008"). It's just
that using re.findall with it is giving me weird output. I'm
Dear Friends,
I'm new to the list, and new to Python. The last time I've tried
anything like the below was 20 years ago on a NeXT machine, and I had
no clue what I was doing then, either.
I've gotten IDLE up and have done some hello worlding.
I am now trying to get the NLTK working on my new iM