Reading from a binary file in a portable way

jb egrossde at yahoo.de
Thu Apr 18 03:28:37 EDT 2002


> Why can't you open the file in binary mode under Linux/UNIX?
> 
> You may also find the 'struct' module useful.

I used os.open under MS-WIN with the flag O_BINARY and this is not supported 
under Linux.
-- 
Janos Blazi


-----=  Posted via Newsfeeds.Com, Uncensored Usenet News  =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
 Check out our new Unlimited Server. No Download or Time Limits!
-----==  Over 80,000 Newsgroups - 19 Different Servers!  ==-----



More information about the Python-list mailing list