[Tutor] Executing programs from python

Jose Ortega joorce@hotmail.com
Mon, 1 Apr 2002 22:17:38 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0014_01C1D9CB.0821B5E0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hello
I'm new here. I want to ask you somthing.
I'm trying to do a kind of Renderman editor. For the ones that not know =
is what people from Pixar use to make Monsters, Inc, Toy storie and so =
on.=20
Anyway, so far I have a barely working text editor in Tkinter. What I =
want now is to fire rendrib.exe(BMRT's version of renderman) from my =
editor for render the file I'm working on.
I use=20
import os
os.system("c:/BMRT/bin/rendrib.exe x.rib")

And I got a warning saying that this program is configured to run in =
MS-DOS mode only but is not true because I can exec it from a DOS window =
without any problem.

So, wthat's the problem?. Is it the right way to do it (I guess not)?

Any help will be apreciated,TIA=20

------=_NextPart_000_0014_01C1D9CB.0821B5E0
Content-Type: text/html;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I'm new here. I want to ask you=20
somthing.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I'm trying to do a kind of Renderman =
editor. For=20
the ones that not know is what people from Pixar use to make Monsters, =
Inc, Toy=20
storie and so on. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Anyway, so far I have a&nbsp;barely =
working text=20
editor in Tkinter. What I want now is to fire&nbsp;rendrib.exe(BMRT's =
version of=20
renderman)&nbsp;from my editor for render the file I'm working =
on.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I use </FONT></DIV>
<DIV>import os</DIV>
<DIV>os.system("c:/BMRT/bin/rendrib.exe x.rib")</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>And I got a warning saying that this =
program is=20
configured to run in MS-DOS mode only but is not true because I can exec =
it from=20
a DOS window without any problem.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>So, wthat's the problem?. Is it the =
right way to do=20
it (I guess not)?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any help will be=20
apreciated,TIA&nbsp;</FONT></DIV></BODY></HTML>

------=_NextPart_000_0014_01C1D9CB.0821B5E0--