POV-Ray : Newsgroups : povray.unix : Linux Editor : Re: Linux Editor Server Time
28 Jul 2024 18:20:33 EDT (-0400)
  Re: Linux Editor  
From: Fabien Hénon
Date: 22 Mar 2002 17:51:15
Message: <3C9BB491.EBC666CE@club-internet.fr>
I use Python 2.2

I think I read somwhere that 'spawn' was added to python 2.0



> I get this:
>
> [sjlen:News]$ python 82-2.py
> Traceback (innermost last):
>   File "82-2.py", line 4, in ?
>     from os import spawnv, P_NOWAIT
> ImportError: cannot import name spawnv
> [sjlen:News]$
>
> And in future if you're going to post the code how about just copying
> and pasting it into the message rather than making it an attachment,
> it's a bit confusing trying to work out where the file starts.
>
> povray.utilities might have been a better place to post the code, and
> put a message in here to announce it.
>
> Here's the python version information if it's any help.
>
> Python 1.5.2 (#1, Jul  5 2001, 03:02:19)  [GCC 2.96 20000731 (Red Hat
> Linux 7.1 2 on linux-i386
>
> --
> #local i=.1;#local I=(i/i)/i;#local l=(i+i)/i;#local ll=(I/i)/l;box{<-ll,
> -((I/I)+l),-ll><ll,-l,ll>pigment{checker scale l}finish{ambient((I/l)/I)+
> (l/I)}}sphere{<i-i,l-l,(I/l)>l/l pigment{rgb((I/l)/I)}finish{reflection((
> I/l)/I)-(l/I)specular(I/l)/I}}light_source{<I-l,I+I,(I-l)/l>l/l} // Steve


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.