Re: [Tutor] help with arrays

2007-05-18 Thread Alan Gauld
"Stephen Adler" <[EMAIL PROTECTED]> wrote > I'm quite new to python and come from a c++/old school > math/computing/physics background. Thats OK, many of us came from there too. Its not permanently damaging! :-) > is that I can't for the life of me figure out how to allocate a 1meg > buffer. (or

Re: [Tutor] help with arrays

2007-05-17 Thread Rikard Bosnjakovic
On 5/18/07, Stephen Adler <[EMAIL PROTECTED]> wrote: > or something like that which would create a string 100 characters > long. And then use that as input into the array module so that I can > build up an array. What's the standard convention to do this? a = " " * 100 > How do I create

[Tutor] help with arrays

2007-05-17 Thread Stephen Adler
Guys, I'm quite new to python and come from a c++/old school math/computing/physics background. My main road block I have right now is that I can't for the life of me figure out how to allocate a 1meg buffer. (or any arbitrary sized buffer) without using something like the range function. It w