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 represent arbitrary values
in
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
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
best
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 have the data in a Python
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 string
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 read
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.
If you
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 Python DB
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
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 of
10 matches
Mail list logo