I've got this problem where i need to find out the dimensions of a .swf file, but using Python. swftools has its Python bindings, but i cant find any documentation on how to use it. I could do this by using swfdump -X and capture its stdout (using the subprocess module) but this an unclean way. So how do i use the Python bindings for swftools?