Thanks, Steve. For the first step, I just wasn't sure how to write the
file.
I appreciate the help.
Becky
On Sun, Apr 17, 2011 at 12:34 AM, Steven D'Aprano wrote:
> Becky Mcquilling wrote:
>
>> I'm trying to work out a method to create a binary file of 1mb and I'm
>> somewhat confused by the d
Becky Mcquilling wrote:
I'm trying to work out a method to create a binary file of 1mb and I'm
somewhat confused by the docs I'm reading is there a method that will do
this?
# Open a file in binary (b) mode for writing.
fp = open("mybinaryfile", "wb")
# Write whatever data you like to it.
fp.w
I'm trying to work out a method to create a binary file of 1mb and I'm
somewhat confused by the docs I'm reading is there a method that will do
this?
Becky
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail