Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
Need help with struct module
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Dennis Lee Bieber, post: 1729002"] Gordon Scott fed this fish to the penguins on Thursday 02 October 2003 06:49 am: The binary data /is/ what you expect. The string representation is being simplified to the escape codes one would normally find in a (user entered) string for <tab> and <newline>(aka <lf>) -- which have the values of 9 and 10. Looks like a text mode transfer converting from a system that uses <lf> to the format of a system that uses <cr>. If you have the control for it, try performing the transfer with the "file" in binary mode (on both ends). -- [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
Need help with struct module
Top