Re: subprocess & isql

2011-07-15 Thread sturlamolden
On 15 Jul, 04:47, "peterff66" wrote: > I am working on a project that retrieves data from remote Sybase. I have to > use isql and subprocess to do this. Is the following correct? > I once had to hammer a nail, but I had to use a screw driver. Didn't work. > Did anybody do similar work before?

Re: subprocess & isql

2011-07-15 Thread Frank Millman
"peterff66" wrote in message news:ivo9or+j...@egroups.com... Hello Python community, I am working on a project that retrieves data from remote Sybase. I have to use isql and subprocess to do this. Is the following correct? 1. call subprocess.popn to run isql, connect to Sybase 2. run sql (

subprocess & isql

2011-07-15 Thread peterff66
Hello Python community, I am working on a project that retrieves data from remote Sybase. I have to use isql and subprocess to do this. Is the following correct? 1. call subprocess.popn to run isql, connect to Sybase 2. run sql ("select ...from ...") 3. write retrieved data to subprocess.pipe 4