On Thu, 10 Oct 2019 11:48:11 +0900, Irfan Ullah said: > it can it be possible to share any type of data structure (e.g., structure, > array, etc.) between kernel space C program and user space Python program > in two way communication. Python's split() is probably the wrong tool here. You probably are looking for something like this: https://pymotw.com/2/struct/ - the guys at Python Module Of The Week have you covered. And a more detailed write-up: http://archive.oreilly.com/oreillyschool/courses/Python3/Python3-08.html