On Wed, 08 Feb 2006 00:57:45 -0500, Steve Holden wrote:
> Chason Hayes wrote:
>> On Tue, 07 Feb 2006 01:58:00 +, Steve Holden wrote:
>>
>>
>>>Chason Hayes wrote:
>>>
On Mon, 06 Feb 2006 13:39:17 +, Steve Holden wrote:
>>>
>>>[...]
>>>
>The URL you reference is discussing how you
Chason Hayes wrote:
> On Tue, 07 Feb 2006 01:58:00 +, Steve Holden wrote:
>
>
>>Chason Hayes wrote:
>>
>>>On Mon, 06 Feb 2006 13:39:17 +, Steve Holden wrote:
>>
>>[...]
>>
The URL you reference is discussing how you represent arbitrary values
in string literals. If you already ha
On Tue, 07 Feb 2006 01:58:00 +, Steve Holden wrote:
> Chason Hayes wrote:
>> On Mon, 06 Feb 2006 13:39:17 +, Steve Holden wrote:
> [...]
>>>
>>>The URL you reference is discussing how you represent arbitrary values
>>>in string literals. If you already have the data in a Python string the
On Tue, 07 Feb 2006 15:06:49 +, Bengt Richter wrote:
> On Mon, 06 Feb 2006 04:40:31 GMT, Chason Hayes <[EMAIL PROTECTED]> wrote:
>
>>I am trying to convert raw binary data to data with escaped octets in
>>order to store it in a bytea field on postgresql server. I could do this
>>easily in c/c
On Mon, 06 Feb 2006 04:40:31 GMT, Chason Hayes <[EMAIL PROTECTED]> wrote:
>I am trying to convert raw binary data to data with escaped octets in
>order to store it in a bytea field on postgresql server. I could do this
>easily in c/c++ but I need to do it in python. I am not sure how to read
>and
Chason Hayes wrote:
> On Mon, 06 Feb 2006 13:39:17 +, Steve Holden wrote:
[...]
>>
>>The URL you reference is discussing how you represent arbitrary values
>>in string literals. If you already have the data in a Python string the
>>best advise is to use a parameterized query - that way your P
On Sun, 05 Feb 2006 21:07:23 -0800, Alex Martelli wrote:
> Chason Hayes <[EMAIL PROTECTED]> wrote:
>...
>> easily in c/c++ but I need to do it in python. I am not sure how to read
>> and evaluate the binary value of a byte in a long string when it is a non
>> printable ascii value in python.
>
On Mon, 06 Feb 2006 13:39:17 +, Steve Holden wrote:
> Chason Hayes wrote:
>> I am trying to convert raw binary data to data with escaped octets in
>> order to store it in a bytea field on postgresql server. I could do this
>> easily in c/c++ but I need to do it in python. I am not sure how to
Chason Hayes wrote:
> I am trying to convert raw binary data to data with escaped octets in
> order to store it in a bytea field on postgresql server. I could do this
> easily in c/c++ but I need to do it in python. I am not sure how to read
> and evaluate the binary value of a byte in a long strin
Chason Hayes <[EMAIL PROTECTED]> wrote:
...
> easily in c/c++ but I need to do it in python. I am not sure how to read
> and evaluate the binary value of a byte in a long string when it is a non
> printable ascii value in python.
If you have a bytestring (AKA plain string) s, the binary value o
I am trying to convert raw binary data to data with escaped octets in
order to store it in a bytea field on postgresql server. I could do this
easily in c/c++ but I need to do it in python. I am not sure how to read
and evaluate the binary value of a byte in a long string when it is a non
printable
11 matches
Mail list logo