Advertisement
Peaser

Untitled

Sep 13th, 2014
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. struct.pack converts Python numbers into a representation of a C bynary data. <QIIHHHH is the format specification, where < means little-endian, H stands for unsigned-short int, and I is an unsigned int. Q is an unsigned long long.
  2.  
  3.  
  4. QtGui.QMovie(QtCore.QBuffer(QtCore.QByteArray(data)).open(QtCore.QIODevice.ReadOnly), 'GIF')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement