Re: Running External Commands + Seeing when they are Finished

2006-05-29 Thread Tommy B
It works! Gasp! Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Writing to a certain line?

2006-06-05 Thread Tommy B
I was wondering if there was a way to take a txt file and, while keeping most of it, replace only one line. See, I'd have a file like: Tommy 555 Bob 62 Joe 529 And I'd want to set it to be: Tommy 555 Bob 66 Joe 529 Is there any easy way to do this? -- http://mail.python.org/mailman/listinfo/p

Re: Writing to a certain line?

2006-06-06 Thread Tommy B
bruno at modulix wrote: > Tommy B wrote: > > I was wondering if there was a way to take a txt file and, while > > keeping most of it, replace only one line. > > > This is a FAQ (while I don't know if it's in the FAQ !-), and is in no > way a Python problem. F

pysqlite error: Database locked?

2006-06-06 Thread Tommy B
I'm currently working on a casino script for an IRC bot. I was going to make a flat file database, but I decided to make it sqlite after some suggestions. I'm using pysqlite. http://pastebin.com/764315 < Source. The lines that have @@ (pastebin doesn't like me) in front of them are important. ERR

Running External Commands + Seeing when they are Finished

2006-05-26 Thread Tommy B
I'm currently working on a script that I will run when I leave my computer on at night. It runs external commands like Ad-Aware, Spybot, AVG, Avast, and the like. The problem is, I want to know how to make it so that one command starts only after the last one finishes. When I run them, they end up

Re: Running External Commands + Seeing when they are Finished

2006-05-27 Thread Tommy B
The problem is with that (which is what I'm doing already) is that one app is in a window and one app is on the command line. Thus, you end up with both apps running at the same time. Are there any modules that have functions for checking when windows are opened or closed? -- http://mail.python.o