Threads and time.strptime()

placid Bulkan at gmail.com
Mon Jul 3 21:13:27 EDT 2006


Maximilian Michel wrote:
> Hi all,
>
> I have an interesting problem:
> I have written code, that reads a logfile and parses it for date string
> (Thu Jun 29 14:01:23 2006).
> Standalone everthing works fine, all is recognized.
>
> But if I let the same code run in a thread, with the same file as input
> I get the following error:

do you read the logfile in the thread too or pass the read that to the
thread?




More information about the Python-list mailing list