Gnuplot on Windows

Nomad nomad*** at ***freemail.absa.co.za
Mon Nov 25 15:28:01 EST 2002


On Fri, 22 Nov 2002 09:33:50 +0000, "Paul Simmonds"
<psimmo60 at hotmail.com> wrote:

><snip>
>> >    self.write(s + '\n')
>> >IOError: [Errno 22] Invalid argument
>> >>>># Working through the hierarchy gives me
>> >>>>a.gnuplot.gnuplot
>> ><open file 'f:\simmonds\gnuplot\pgnuplot.exe', mode 'w' at 0x00792CE8>
>>                                           ^^^        ^^^
>>Why would a .exe file be opened with mode 'w'?? Or at all?
>>
>>Creating or modifying exe's on the fly could be not so nice for your system 
>>;-/
>>
>>I would want to check that out carefully.
>>
></snip>
>
>Thanks Bengt,
>
>I think this is the time to admit that I really don't know how you'd 
>simulate stdin/out streams on Windows. This pgnuplot program is a console 
>mode program supposed to take input from a file stream, and relay it to a 
>wrapped wgnuplot GUI window.

have you looked at the popen's?

>I used this program hoping it would be a quick and easy solution for my 
>Windows port problems. However, looking at the code, the last change to 
>pgnuplot was in '99, and we're running this software on 2000 now. Does 
>anyone know if the API's moved on so that a recode is in order? I've got a 
>big book on Windows API C programming, but I was hoping to avoid it as long 
>as possible...the business end of the wrap is done using PostMessage.
>
>Is there a better way to do this?
>
>Thanks,
>Paul
>
>_________________________________________________________________
>STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
>http://join.msn.com/?page=features/junkmail
>

-- 
Nomad

Wondering of the vast emptyness of the 'net
in search of something cool.



More information about the Python-list mailing list