This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
You've already forked circuitpython
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
2fe4cf7761
circuitpython
/
tests
/
io
/
file1.py
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 11:46:21 -05: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 17:01:32 -04:00
f
=
open
(
"
io/data/file1
"
)
print
(
f
.
readlines
(
)
)