b = environ['CONTENT_TYPE'].split('boundary=')[1]
oops forgot, is indeed better solution :)
--
http://mail.python.org/mailman/listinfo/python-list
gt; are trying to do, or is it meant to be working code? If the latter:
> * Do you have this working in 2.X?
yep
> * Are you sure the pattern to retrieve the picture is correct?
yep http://91.121.53.159/file.txt
> * What is the "Content-Transfer-Encoding"?
print (environ[
e trying to do, or is it meant to be working code? If the latter:
* Do you have this working in 2.X?
* Are you sure the pattern to retrieve the picture is correct?
* What is the "Content-Transfer-Encoding"?
(d) Surely there must be a library somewhere that parses that kind of
data for yo
On Jan 20, 5:23 am, John Machin wrote:
> On Jan 20, 12:54 pm, gert wrote:
>
> > How do you convert s back to binary data in python 3 so I can put in a
> > sqlite blob ?
> > Is there a build in function or do I need to use binascii ?
> > byte(s) or bin(s) would make more sense but can not figure i
On Jan 20, 12:54 pm, gert wrote:
> How do you convert s back to binary data in python 3 so I can put in a
> sqlite blob ?
> Is there a build in function or do I need to use binascii ?
> byte(s) or bin(s) would make more sense but can not figure it out ?
Can't imagine why you would do str(binary_d
How do you convert s back to binary data in python 3 so I can put in a
sqlite blob ?
Is there a build in function or do I need to use binascii ?
byte(s) or bin(s) would make more sense but can not figure it out ?
--
http://mail.python.org/mailman/listinfo/python-list