-
[Python] 2-3 <실습> 파일 열고 읽기05. Programing Language/[Python] 1. 파이썬 자료구조 2020. 1. 13. 16:28
https://www.py4e.com/code3/mbox-short.txt
불러오는 중입니다... 위 링크에서 txt파일을 다운받아 실습에 참여하세요
fh = open('mbox-short.txt') for lx in fh : ly = lx.rstrip() print(ly.upper())
실행은 cmd 창에서 아시죠?
'05. Programing Language > [Python] 1. 파이썬 자료구조' 카테고리의 다른 글
[Python] 3-2 리스트 활용하기 (0) 2020.01.16 [Python] 3-1 리스트의 개념 및 특징 (0) 2020.01.14 [Python] 2-2 파일 읽기 (0) 2020.01.13 [Python] 2-1 파일 열기 (0) 2020.01.13 [Python] 1-3 <실습> 문자열 파싱 (0) 2020.01.09