newbie question
Hello All, What is the python equivalent of the following statement? while (n--) Thank you. -d4 -- http://mail.python.org/mailman/listinfo/python-list
Re: newbie question
Thanks for the reply. I am trying to convert some C code to python and i was not sure what the equivalent python code would be. I want to postdecrement the value in the while loop. Since i cannot use assignment in while statements is there any other way to do it in python? Thanks. -d4 -- http://mail.python.org/mailman/listinfo/python-list
Multidimensional arrays - howto?
Hello all, I am trying to convert some C code into python. Since i am new to python, i would like to know how to deal with multidimensional arrays? Thanks, -Joe Here's a snippet of what i am trying to convert: # define table0 15 # define table1 20 unsigned int Table[table0][table1] if(Table[table0][table1] != 0) { Table[table0][table1]-- } -- http://mail.python.org/mailman/listinfo/python-list
newbie question convert C to python
How do i handle this piece of code in python: # define vZero 15 # define vOne 20 unsigned int vTable[Zero][One] if(vGroup[vZero][vOne] == 0) { vGroup[vZero][vOne]-- . . } Thanks, -d4 -- http://mail.python.org/mailman/listinfo/python-list
Re: char buffer
Each buffer need to hold 512 bytes of data. Thanks, -Joe -- http://mail.python.org/mailman/listinfo/python-list
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 -- http://mail.python.org/mailman/listinfo/python-list
multiple buffers management
Hello, 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. Each buffer needs to hold 512 bytes of data. Thanks, -Joe -- http://mail.python.org/mailman/listinfo/python-list