I don't know technically how exactly works file handling and streaming. I wonder is there anyway to stream a variable like it is being read by open() but without using open() and not from a file.
Thanks in advance...
You want to read this .
Not from a file? Maybe using a StringIO (see the same link).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.