os.system('''"python" -c "print 'foo'"''') cause error, but os.system('''""python" -c "print 'foo'""''') works fine.
os.system( '''"python" -c "print 'foo'"''') cause error, but os.system( '''""python" -c "print 'foo'""''') works fine.