我想运行命令:
print "hello"
print "world!"
从 python 与-c
从 bash 的开关,是这样的:
python -c 'print "hello" \n print "world"'
但我无法弄清楚-c
切换后字符串中正确的换行符应该是什么。
我想运行命令:
print "hello"
print "world!"
从 python 与-c
从 bash 的开关,是这样的:
python -c 'print "hello" \n print "world"'
但我无法弄清楚-c
切换后字符串中正确的换行符应该是什么。