1. close() - open된 파일을 닫음 - 만약 닫지 않는다면 다른 프로그램에서 해당 파일을 변경할 수 없음 - 참고 : https://www.w3schools.com/python/ref_file_close.asp >> f = open('test.txt', 'r', encoding='utf8') >> print(f.read()) >> f.close() This is test file. https://ggondae.tistory.com 한글도 잘 될거에요 - with문을 사용하여 파일을 open할 경우 파일은 구문 내에서만 유효 >> with open('test.txt', 'r', encoding='utf8') as f: ... print(f.read()) 2. fileno() - 정수형 파일 기술..