"r"/"rb" & "w"/"wb" differences
before I ask my questions, assume the file
"THISFILE.DAT" contains the following:
ONE:EINS
TWO:ZWEI
THREE:DREI
FOUR:VIER
FIVE:FUENF
If I open it with the following line:
hdl = open("thisfile.dat","r")
how is it different that doing this?:
hdl = open("thisfile.dat","rb")
When I've read data from files, I've gotten the same
data from "r" as I have from "rb." What is the
difference between an opening mode and its binary
counterpart?
Thanks for the clarification,
Mike Hurley
=====
It compiled. The first screen came up. Ship it.
--Bill Gates
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
|
Not Categorized, Please Help
|
|