Message30586
I've been using the csv module to parse data coming from a serial port of a lab instrument. Occasionally the instrument transmits a lone /x00 (maybe when the power cycles, I'm not sure). Anyhow, I'm now using a try-except statement to catch the error.
I guess my answer to your question is that I think the module should handle whatever string you pass it. Is there a specific reason not to handle /x00?
|
|
Date |
User |
Action |
Args |
2007-08-23 14:49:59 | admin | link | issue1599055 messages |
2007-08-23 14:49:59 | admin | create | |
|