윈도우_파이썬
조회수 : 3
파이썬_print_사용   ( 16/17 )
(6) 파일로 출력하기 open() 파일로 데이터들을 출력합니다. 1.# 데이터를 파일로 출력합니다.2.textFile = open("test/text.txt", "w")3.print("Hello", "World!', 123, file=textFile)