micropython-lib/os/example_open.py

6 wiersze
89 B
Python

import os
fd = os.open("example_open.py", os.O_RDONLY)
print(fd)
print(os.read(fd, 10))