This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
0
You've already forked circuitpython
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
circuitpython
/
tests
/
io
/
file_stdio.py
6 lines
92 B
Python
Raw
Normal View
History
Unescape
Escape
tests: Replace umodule with module everywhere. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-08-18 16:57:45 +10:00
import
sys
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:15:46 +02:00
print
(
sys
.
stdin
.
fileno
(
)
)
print
(
sys
.
stdout
.
fileno
(
)
)
extmod/vfs_posix_file: Implement sys.std*.buffer objects. Add the buffer attribute to sys.stdin, sys.stdout and sys.stderr. This provides raw access to underlying stdio streams for the unix port (and others that use VfsPosix). Signed-off-by: stephanelsmith <stephane.smith@titansensor.com>
2023-07-26 02:52:56 +00:00
print
(
sys
.
stderr
.
fileno
(
)
)
Reference in New Issue
Copy Permalink