execute python as string on terminal for proprtype

python -c "print 'a'"

原文地址:https://www.cnblogs.com/lexus/p/2537578.html