exists=false, but no complaint when i open it!?

globalrev skanemupp at yahoo.se
Thu May 15 12:03:31 EDT 2008


print os.path.exists('C:\Users\saftarn\Desktop\NetFlixDataSet
\trainingsetunzipped\training_set\mv_0000001.txt')

d=open('C:/Python25/myPrograms/mapexperiments/maps/provinces-of-
sweden.gif')
d.close()

exists returns false but when i open it doesnt complain. how come?

another file that exists returned false for complained when i tried to
open it.



More information about the Python-list mailing list