By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,713 Members | 764 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,713 IT Pros & Developers. It's quick & easy.

char buffer

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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.