os.path.isfile with *.tar.gz

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Thu Mar 15 23:38:33 CET 2007

> Boudreau, Emile wrote:
>> I have tried variations of: os.path.isfile( os.path.join("C:\\temp\\", 
>> "rqp-win32-app", "*.tar.gz"))

As a side note, the whole point of os.path is to help writing portable 
code. So passing an os.specific path componant is somewhat counter 
productive !-)

(snip answer)

More information about the Python-list mailing list