>No *need* but, often convenient, regardless of whether the data was >written by a C struct or not.(*) It is a way to interpret binary data in >terms of fundamental data types such as ints, floats, strings etc.
>Trying to convert raw bytes representing floats into a floating point >number without using struct would be an interesting exercise. Using >struct it's trivial. Interesting, I will keep it in mind. Thanks! Ramit Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology 712 Main Street | Houston, TX 77002 work phone: 713 - 216 - 5423 -- This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
