[FRPythoneers] Python under MSWindows

Clementson, Bill Bill_Clementson at jdedwards.com
Fri Jun 1 17:00:43 MDT 2001

Either of those ideas would work as well (and wouldn't require a temporary
file on disk); however, they would require either changes to the python
programs or the creation of a new python "wrapper" program (using os.popen)
to redirect stdin/stdout from/to his existing python programs. Wayde
mentioned that he was after something that would allow him to use the same
python programs that he was running under Linux without modification. Your
Tkinter option would be a better long-term solution - my suggestion was just
a quick hack that would allow him to start using his stuff immediately.

-----Original Message-----
From: Sean Reifschneider [mailto:jafo at tummy.com]
Sent: Friday, June 01, 2001 4:45 PM
To: frpythoneers at lists.community.tummy.com
Subject: Re: [FRPythoneers] Python under MSWindows

>1. Create a batch file (called runit.bat in this example) containing the
>following lines:
>python %1 %2 %3 %4 %5 %6 %7 %8 %9 > %temp%\temp
>notepad.exe %temp%\temp
>del %temp%\temp

This is a good idea.  Alternately, you could create a Tkinter output class
that would open a window with a text edit field.  Probably shouldn't be
that hard to do, and would end up looking nicer in the Windows environment
-- plus you could use it on Linux as well (specify a command-line argument

Can you do "os.system('notepad.exe')" on Legacy Windows platforms?  That
might be an alternative as well.

 I can't understand why people are frightened of new ideas.  I'm frightened
 of the old ones.  -- John Cage
Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python
This message sent by the FRPythoneers mailing list.
Unsubscribe: echo unsubscribe |
FRPythoneers-request at lists.community.tummy.com
URL: http://lists.community.tummy.com/mailman/listinfo/frpythoneers

More information about the FRPythoneers mailing list