On Wed, 2008-07-09 at 00:00 -0400, Ben Keshet wrote:
oops, my mistake, actually it didn't work...
when I tried:
for x in folders:
print x # print the current folder
filename='Folde r/%s/myfile.txt' %x
f=open(filename ,'r')
it says: IOError: [Errno 2] No such file or directory:
'Folder/1/myfile.txt'
when I tried:
for x in folders:
print x # print the current folder
filename='Folde r/%s/myfile.txt' %x
f=open(filename ,'r')
it says: IOError: [Errno 2] No such file or directory:
'Folder/1/myfile.txt'
the contents of folders at x; therefore folders[x]
HTH,
Tim
--
Timothy Cook, MSc
Health Informatics Research & Development Services
LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook
Skype ID == timothy.cook
*************** *************** *************** *************** **
*You may get my Public GPG key from popular keyservers or *
*from this link http://timothywayne.cook.googlepages.com/home*
*************** *************** *************** *************** **
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQBIdJQO2TF RV0OoZwMRAqntAK DMHzg+debOI82g0 +SRXClOLUGVewCf f29C
C44vb9ffPU1WW7/5R8udU7U=
=6FP3
-----END PGP SIGNATURE-----
Comment