#파일 복사하는 프로그램 만들기
'''
복사하고 싶은 파일의 이름을 사용자가 입력하면,
파일의 내용을 전부 읽어서 변수에 저장했다가
출력 파일에 쓰는 프로그램을 작성하자
'''
#입력 파일 이름과 출력 파일 이름을 받는다
in_file_name = ??('입력 파일 : ')
out_file_name = ??('출력 파일 : ')
#입력과 출력을 위한 파일을 연다
infile = open(??)
outfile = open(??)
#전체 파일을 읽는다
s = ??
#전체 파일을 쓴다
outfile.??
#파일을 닫는다
??
??
To embed this project on your website, copy the following code and paste it into your website's HTML: