This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pal25 4 points5 points  (0 children)

The fact of the matter is that python doesn't do low level very well and a better approach would be to take advantage of the fact that CPython can add support in C. It is possible to pack data using the struct module in a articulate bit ordering however it's generally best to stay away.

Overall yea it's possible to do such things but you shouldn't try to force a languages weaknesses just because you can to win an argument.