kopia lustrzana https://github.com/micropython/micropython-lib
os: Add example_open.py.
rodzic
ad00b479eb
commit
b7ff1c0664
|
@ -0,0 +1,5 @@
|
|||
import os
|
||||
|
||||
fd = os.open("example_open.py", os.O_RDONLY)
|
||||
print(fd)
|
||||
print(os.read(fd, 10))
|
Ładowanie…
Reference in New Issue