Hello!
I'm getting exception while trying to gunzip data, which is stored in
db:
File "helper.py", line 33, in gunzip
f = StringIO(data)
"exceptions.TypeError: char buffer type not available"
function which does gunzipping:
def gunzi
Hello all,
I need to create 6 buffers in python and keep track of it.
I need to pass this buffer, say buffer 1 as an index to a test app. Has
any one tried to do this. Any help with buffer management appreciated.
Thanks,
-Joe
--
http://mail.python.org/mailman/listinfo/python-list
Each buffer need to hold 512 bytes of data.
Thanks,
-Joe
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Hello all,
>
> I need to create 6 buffers in python and keep track of it.
> I need to pass this buffer, say buffer 1 as an index to a test app. Has
> any one tried to do this. Any help with buffer management appreciated.
Use the module array.
--
Regards,
Diez B. Rog
You'll probably want to be more specific. First thing that comes to
mind is how do you plan on passing the `buffer' to your `test app'. I
can think of a couple of ways off hand -- socket, stdin or maybe as a
command line argument.
If you're doing one of those, then I don't think you'll need a bu