I didn't run your code but had a very quick look at the implmentation of asyncfile.readLine to find out what can raise an IndexError. This line if c[0] == 'L' or c == "": should be checked before the other and it should be implemented like this: if c.len == 0 or c[0] == 'L': I assume this fixes IndexError.
- Newbie question about reading asynchronous text file line by lin... mrhdias
- Re: Newbie question about reading asynchronous text file li... nepeckman
- Re: Newbie question about reading asynchronous text fil... mrhdias
- Re: Newbie question about reading asynchronous text... tim_st