Re: regex alternation problem

2009-04-17 Thread Eugene Perederey
n an " > > for s in [s1, s2]: >    print re.findall(" (am|an) ", s) > > # Results: > # ['am'] > # ['am', 'an'] > > --- > > I want the results to be the same for each string.  What am I doing > wrong? > -- > h

Re: a newbie question

2009-04-12 Thread Eugene Perederey
quot;urlopen" > > > What's wrong with this code? Do i need to place my code in some > specific directory? Thanks a lot. ' > -- > http://mail.python.org/mailman/listinfo/python-list > -- Sincerely yours, Eugene Perederey -- http://mail.python.org/mailman/listinfo/python-list

Re: List of paths

2009-04-01 Thread Eugene Perederey
will not matter for small lists, but for long ones mine will be much > faster. > > andrew > > > -- > http://mail.python.org/mailman/listinfo/python-list > -- Sincerely yours, Eugene Perederey > -- Sincerely yours, Eugene Perederey -- http://mail.python.org/mailman/listinfo/python-list

Setting an exclusive lock on a file

2009-03-29 Thread Eugene Perederey
7;t write anything to file whereas other processes do. What's wrong in my code? -- Sincerely yours, Eugene Perederey -- http://mail.python.org/mailman/listinfo/python-list