[Newbie] Search-and-delete text processing problem...

2005-04-01 Thread Todd_Calhoun
I'm trying to learn about text processing in Python, and I'm trying to tackle what should be a simple task. I have long text files of books with a citation between each paragraph, which might be like "Bill D. Smith, History through the Ages, p.5". So, I need to search for every line that starts

Re: Beginner Question - Very Easy I'm Sure...

2005-03-25 Thread Todd_Calhoun
Thanks for the tip. I knew it was something easy like that. "Brian van den Broek" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Todd_Calhoun said unto the world upon 2005-03-24 16:13: >> I'm trying to generate a random number, and then concetat

Beginner Question - Very Easy I'm Sure...

2005-03-24 Thread Todd_Calhoun
I'm trying to generate a random number, and then concetate it to a word to create a password. I get the number and assign it to a variable: + word = "dog" import random rannum = random.randrange(100,999) str(rannum) word + rannum + But

Re: Where can I find sample "beginner" programs to study?

2005-01-28 Thread Todd_Calhoun
Thanks for the great links. The cookbook page has some smaller stuff that looks great. "JanC" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Todd_Calhoun schreef: > >> I'm trying to learn Python (and programming), and I'm wondering if &g

Where can I find sample "beginner" programs to study?

2005-01-28 Thread Todd_Calhoun
I'm trying to learn Python (and programming), and I'm wondering if there are any places where I can find small, simple programs to study. Thanks. -- http://mail.python.org/mailman/listinfo/python-list