micropython/tests/io/file-stdio.py
Paul Sokolovsky 1e19b24ea0 io.File, socket types: Add fileno() method.
Implementation is duplicated, but tolerate this for now, because there's
no clear idea how to de-dup it.
2014-02-08 21:20:32 +02:00

5 lines
65 B
Python

import sys
print(sys.stdin.fileno())
print(sys.stdout.fileno())