This website requires JavaScript.
Explore
Help
Sign In
m5
/
Core2forAWS-MicroPython
Watch
0
Star
0
Fork
0
You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced
2026-05-20 10:30:31 -07:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
196773505a5750428c14d328eab3d346ad4b4b92
Core2forAWS-MicroPython
/
tests
/
io
/
file1.py
T
7 lines
126 B
Python
Raw
Normal View
History
Unescape
Escape
Add directory for I/O tests with basic test for file methods.
2014-01-19 18:46:21 +02:00
f
=
open
(
"
io/data/file1
"
)
print
(
f
.
read
(
5
)
)
print
(
f
.
readline
(
)
)
print
(
f
.
read
(
)
)
py, stream: Implement readlines for a stream.
2014-05-03 22:01:32 +01:00
f
=
open
(
"
io/data/file1
"
)
print
(
f
.
readlines
(
)
)
Reference in New Issue
Copy Permalink