Could any one help me to implement C structure data type in python? I need a similar structure data type in python as below.
struct msgbuf
{
   long mtype;
   char mtext[100];
};
Could any one help me to implement C structure data type in python? I need a similar structure data type in python as below.
struct msgbuf
{
   long mtype;
   char mtext[100];
};