How To Use Botocore.response.streamingbody As Stdin Pipe
I want to pipe large video files from AWS S3 into Popen's stdin, which is from Python's point of view a 'file-like object'. This code runs as an AWS Lambda function, so these files
Solution 1:
For reading binary data from StreamingBody use StreamBody.read()
. You get a binary string.
Post a Comment for "How To Use Botocore.response.streamingbody As Stdin Pipe"