2011-11-03 5 views

답변

3

그것은 맞춤법 오류입니다 :

import easygui 

#Multi Enter Box 
fieldNames1= ['Situation:(Example: Waiting for a friend who is late.)','Thoughts:(EXAMPLE: My friend Bob is always late!)','Emotions:(EXAMPLE: Mad & Stressed)','Behavior:(EXAMPLE: Arguing with family)'] 


#Write to file 
file = open('Log.txt', 'a') 
file.write(feildNames1) 
file.close() 

내가 함께 어려움을 겪고있어 오류입니다.

fieldNames1 변수를 설정했지만 feildNames1repr()을 호출하고 있습니다. ei

의 위치에 유의하십시오.
관련 문제