"Readline"의 두 판 사이의 차이

(새 문서: ;readline ==Python== category: Python <source lang='Python'> my_file = open("text.txt", "r") print my_file.readline() my_file.close() </source> ==같이 보기== *file_get_con...)
 
4번째 줄: 4번째 줄:
[[category: Python]]
[[category: Python]]
<source lang='Python'>
<source lang='Python'>
my_file = open("text.txt", "r")
my_file = open("test.txt", "r")
print my_file.readline()
print my_file.readline()
my_file.close()
my_file.close()

2014년 5월 30일 (금) 15:52 판

readline

1 Python

my_file = open("test.txt", "r")
print my_file.readline()
my_file.close()

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}