[Tutor] Trouble with script not parsing out text

2007-08-29 Thread Tim Finley
I get the following when runninga script. TypeError: argument 1 must be string or read-only character buffer, not _sre.SRE_Pattern Here is the script I am trying to run. I am trying to verify that my search is returning what I am trying to search for, but due to the error I can verify

[Tutor] How to parse and extract data from a log file?

2007-08-07 Thread Tim Finley
I'm a newbie to programming and am trying to learn Python. Maybe I'm wrong, but I thought a practical way of learning it would be to create a script. I want to automate the gathering of mailbox statistics for users in a post office. There are two lines containing this information for each