b = environ['CONTENT_TYPE'].split('boundary=')[1]
oops forgot, is indeed better solution :)
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 20, 9:41 pm, John Machin wrote:
> On Jan 21, 5:31 am, gert wrote:
>
> > 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 funct
On Jan 21, 5:31 am, gert wrote:
> 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 bi
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