Message162413
| Author |
jjanis |
| Recipients |
jjanis |
| Date |
2012年06月06日.14:47:44 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1338994065.34.0.987983176333.issue15019@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
test = "Hi there :)"
print len(test), test // Prints "11 Hi there :)"
test = test.replace(" ", "\x00")
print len(test), test // Prints "11
On Windows '\x00' is same as ' ', but on linux string is terminated at first occurance of '\x00'. Results on problems with pySerial and binary data, so I can't replace '\x00' with ' '. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年06月06日 14:47:45 | jjanis | set | recipients:
+ jjanis |
| 2012年06月06日 14:47:45 | jjanis | set | messageid: <1338994065.34.0.987983176333.issue15019@psf.upfronthosting.co.za> |
| 2012年06月06日 14:47:44 | jjanis | link | issue15019 messages |
| 2012年06月06日 14:47:44 | jjanis | create |
|