3
cmd에서 실행할 때 아래 python 스크립트에서 오류가 발생합니다. cmd에서 그 명령을 실행할 때 완벽하게 실행됩니다. 이 문제의 원인이 무엇인지 모르겠습니다.<이 시간에 예기치 않게 발생했습니다
오류 : < was unexpected at this time
command = "confluence --action storePage --space 'EN' --title 'csoap-235' --parent '@home' --special ' # ~' --content '<p><ac:link><ri:page ri:content-title=~Home~/></ac:link></p>' --noConvert --server 'server' --user 'username' --password 'pswd'"
os.system(command)
print "This happened"
어떤 도움을 크게 감상 할 수있다!
파이썬 인터프리터 또는 'confluence' 명령으로 오류가 발생 했습니까? – WKPlus
코드 문자열 명령에'<>>'을 사용하면 몇 가지 이스케이프 시퀀스가 있습니다. 그 부분없이 시도하십시오. – Nilesh
@WKPlus, 명령 줄에서 실행했을 때 오류가 발생했습니다 – aishpr