469,275 Members | 1,603 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

char buffer

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

Jul 18 '05 #1
3 1596
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 buffer
as much as you'll need a simple python string.

jw

On 10 Mar 2005 13:36:40 -0800, do*****@gmail.com <do*****@gmail.com> 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.

Thanks,
-Joe

--
http://mail.python.org/mailman/listinfo/python-list

Jul 18 '05 #2
do*****@gmail.com 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. Roggisch
Jul 18 '05 #3
Each buffer need to hold 512 bytes of data.
Thanks,
-Joe

Jul 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

17 posts views Thread by Axel | last post: by
8 posts views Thread by Ekim | last post: by
5 posts views Thread by Roy Hills | last post: by
11 posts views Thread by Walter Dnes (delete the 'z' to get my real address | last post: by
12 posts views Thread by Lars Langer | last post: by
3 posts views Thread by fernandez.dan | last post: by
3 posts views Thread by gordy | last post: by
2 posts views Thread by esanchezfo | last post: by
18 posts views Thread by Pedro Pinto | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.