Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for thompsongunner

I'm trying to get a grasp of inheritance in Python but am having problems. I am trying to create a derived class but want the derived class to only provide an initialized instance of the base class. Specifically I would like to inherit from [inlinecode]OrderedDict[/inlinecode] as shown in the following …

Member Avatar for jrcagle
0
188
Member Avatar for thompsongunner

I am trying to use the bit fields in a useful way to create packed fields that can be sent out as packets. Let's see if my code can help explain: [code] from ctypes import * class myPacketHeader(Structure): _pack_ = 1 _fields_ = [("seqnum", c_ubyte, 8), ("is_command", c_uint, 1), ("address", …

Member Avatar for thompsongunner
0
3K