files,folders,paths
ecu_jon
hayesjdno3 at yahoo.com
Sun Feb 13 23:19:04 EST 2011
this is a reply to both Dave Angel and Ben Finney. this version of
testing i think incorperates what you guys are saying.
<a href="http://thanksforallthefish.endofinternet.net/
testing1.py">testin1.py</a>
except maybe the os.join.path in the last function.
here is the traceback
Traceback (most recent call last):
File "I:\college\spring11\capstone-project\testing.py", line 88, in
<module>
backupall()
File "I:\college\spring11\capstone-project\testing.py", line 84, in
backupall
shutil.copy2(filesource, filedest1)
File "C:\Python27\lib\shutil.py", line 127, in copy2
copyfile(src, dst)
File "C:\Python27\lib\shutil.py", line 82, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 2] No such file or directory: '//Mothera/week2\\jonI:\
\college\\spring11\\capstone-project\\changelog.txt'
it looks like it needs os.walk and the other for line to dig through
the folders.
this being the whole path
I:\\college\\spring11\\capstone-project\\changelog.txt of source.
More information about the Python-list
mailing list