I know that os.popen will be replaced by subprocess, But I don't know how to convert
os.popen('swfdump /tmp/filename.swf/ -d')
to the subprocess.popen()
I also tried:
subprocess.Popen("swfdump /tmp/filename.swf -d")
subprocess.Popen("swfdump %s -d" % (filename)) # NOTE: filename is a variable
# containing /tmp/filename.swf
But, I'm not getting this. Anyone please help me. Thank you