Title: Signature.html
txt files only contain text. The mate to the txt file is a dat file,
which contains video. I'm only changing its name to match that of its
corresponding txt file. The txt file has a time stamp in it. That's why
I'm changing the first line to match the new time stamp. Both
Title: Signature.html
Thanks very much for the tips. Things to look into yet.
At this point, I'm not sure what ufilenames are. Linux related? My
first cut at this is to make the program available to Win users. I'm
not sure how many Linux and Apple users we have in our widely dispersed
group o
Title: Signature.html
I'm using 2.4 for Win. I'll look into the tempfile module.
Tim Golden wrote:
Wayne
Watson wrote:
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 exit
Wayne Watson wrote:
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
"Wayne Watson" <[EMAIL PROTECTED]> wrote
I need to use something like sys.exit().
sys.exit won't change the file permissions etc.
It simply sets the exit status of the program.
I suspect the problem is that you still have IDLE running.
Have you tried testing the program outside IDLE? You mi
Title: Signature.html
Thanks. So noted. I suspect I need to use something like sys.exit().
However, I'm in development mode right now with IDLE, and there's a
small penalty for using it with IDLE. I think it's a dialog that asks
if one wants to really exit.
The files are maybe 70 characters pe
Wayne Watson wrote:
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
Title: Signature.html
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 W