use subprocess
os.popen() is deprecated since Python 2.7