2 Respostas
+ 2
https://www.google.com/url?sa=t&source=web&rct=j&url=https://www.geeksforgeeks.org/struct-module-JUMP_LINK__&&__python__&&__JUMP_LINK/amp/&ved=2ahUKEwiuhruB4uPoAhVB73MBHQdQBUEQFjAAegQIAhAB&usg=AOvVaw28Co5GQKYu0GsuzcBlsbbk&cf=1
Check this out struct module in python..
but in my opinion, class in python can do the job.
+ 1
In my opinion too, you won't need structs in an OOP-able language.