언어&플랫폼/python 2013. 12. 10. 17:41


output.strip('\r\n')




[참고] : http://stackoverflow.com/questions/275018/how-can-i-remove-chomp-a-newline-in-python

'언어&플랫폼 > python' 카테고리의 다른 글

shell과 pipe 실행하기(subprocess)  (0) 2014.03.21
[python] dictionary 에 dictionary 붙이기  (0) 2013.12.18
[python] json decode  (0) 2013.12.10
Tutorial  (0) 2013.12.10
os.popen3와 subprocess.Popen  (0) 2013.12.09
posted by cozyboy
: