If - Or statements

bruno modulix onurb at xiludom.gro
Tue Jun 7 08:07:09 EDT 2005


Steven Bethard wrote:
> bruno modulix wrote:
(snip)
>>     ext = os.path.splitext(filename)
> 

> Check the docs[1].  This should probably read: 
>     _, ext = os.path.splitext(filename)

Of course. Au temps pour moi.

-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list