0👍
If you need something with a file descriptor then you’ll have to use os.pipe()
. If it just needs a file-like then passing it what you have will do.
Source:stackexchange.com
0👍
If you need something with a file descriptor then you’ll have to use os.pipe()
. If it just needs a file-like then passing it what you have will do.