Re: File existence check with partial filename

2010-03-15 Thread Lan Qing
Or use the regular module: import re import os for filename in os.listdir('.'): if re.match("*HV*", filename): # do something with the file On Mon, Mar 15, 2010 at 12:24 PM, Alf P. Steinbach wrote: > * Sang-Ho Yun: > > I learned that I can check the existence of a file using >>

Fwd: Some PyCon videos won't play

2010-03-14 Thread Lan Qing
In China these video can not watch at all. I must spent 3 days to download it... On Mon, Mar 15, 2010 at 5:19 AM, Terry Reedy wrote: > On 3/14/2010 2:41 PM, Terry Reedy wrote: > >> On 3/14/2010 11:14 AM, David Boddie wrote: >> > > You should still be able to get at the videos themselves by insp

Re: a newbie's question

2010-03-10 Thread Lan Qing
hi Cheers, Think you, that helps me a lot. On Tue, Mar 9, 2010 at 10:00 PM, Simon Brunning wrote: > On 9 March 2010 13:51, Lan Qing wrote: > > Hi all, > > I'm a newbie of python programming language. > > Welcome! > > > I have used c/c++ for 5 > &

a newbie's question

2010-03-09 Thread Lan Qing
Hi all, I'm a newbie of python programming language. I have used c/c++ for 5 years, and one year experience in Lua programming language. Can any one give me some advice on learning python. Think you for any help!! best regards!!! -- http://mail.python.org/mailman/listinfo/python-list