in news:3C9### [at] club-internetfr Fabien HENON wrote:
> NB : It works with Windows 2000 ( and Mac ?). The render process
> doesn't.
Works for me:
# app = dir where pov is located (on my system) and
# use pvengine.exe in spawnv
# /EXIT /NR are there to close the gui after rendering.
app = 'c:\\graphics\\POV-RAY35\\bin\\pvengine'
spawnv(P_NOWAIT, app , ('pvengine.exe /EXIT /NR',
"+i"+self.filename+" "+params))
Also if I recall well. Python can detect what os is being used and thus
could select the right app/spawnv combination. The user would still have
to tell where pov is located the first time the editor is used.
> TODO:
> Implement syntax color highlight (Any help there would be
> appreciated)
Pick whatever you need:
http://members.home.nl/seedseven/povsdl2html.py
Also look for the colordelegator(?) in the code for IDLE that comes with
Python.
Ingo
Post a reply to this message
|