Finding MIME type for a data stream

Tobiah toby at tobiah.org
Fri Mar 9 11:35:42 EST 2012


On 03/08/2012 06:12 PM, Irmen de Jong wrote:
> On 8-3-2012 23:34, Tobiah wrote:
>> Also, I realize that I could write the data to a file
>> and then use one of the modules that want a file path.
>> I would prefer not to do that.
>>
>> Thanks
>>
> 
> Use StringIO then, instead of a file on disk
> 
> Irmen
> 

Nice.  Thanks.





More information about the Python-list mailing list