Enclosed is a segment of a program which copies a txt file, but
replaces the first line with a new one. The new one has a suffix of
tmp. After it executed the code and exited the program normally
(running out of code), I couldn't access the new tmp file. It was
listed by Win XP, but I got a "file in use" messge. Do I have to exit
differently to free the tmp file for inspection?def modify_txt_file(old_fname, new_event_date): --
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
"If voting made any difference they wouldn't let us do it."
-- Mark Twain
Web Page: <www.speckledwithstars.net/>
|
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
