How can I get a script to pipe data to another program, wait for a
response, then send more data etc.
For example, from a script, I want to run smbclient then send it the
username, password, and then some commands. (I know there are better ways
to achieve this functionality, it is the principle th
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:
>>>
&
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 a
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 cou
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
>> p
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 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