Skip to content

Commit a663231

Browse files
committed
Add file io
1 parent e20f8e9 commit a663231

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

io/file_io/main.py

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
read_file = open('work', 'r')
2+
read_data = read_file.read()
3+
print(read_data, end='')
4+
read_file.close()

io/file_io/work

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
1234567890
2+
asdfghjkl

0 commit comments

Comments
 (0)