POV-Ray : Newsgroups : povray.off-topic : python question Server Time
28 Jul 2024 16:28:08 EDT (-0400)
  python question (Message 1 to 10 of 15)  
Goto Latest 10 Messages Next 5 Messages >>>
From: James Holsenback
Subject: python question
Date: 18 Dec 2013 15:26:45
Message: <52b20505$1@news.povray.org>
sorry don't speak python, why isn't this an array of tupels ....

p4viewspec=[
     ('//depot/povray/smp/...','//buildbot/povray/smp/...'),
 
('-//depot/povray/smp/documentation/...','//buildbot/povray/smp/documentation/...'),
 
('-//depot/povray/smp/internal/...','//buildbot/povray/smp/internal/...'),
 
('-//depot/povray/smp/legacy-license/...','//buildbot/povray/smp/legacy-license/...'),
 
('-//depot/povray/smp/libraries/...','//buildbot/povray/smp/libraries/...'),
 
('-//depot/povray/smp/macintosh/...','//buildbot/povray/smp/macintosh/...'),
 
('-//depot/povray/smp/source-private/...','//buildbot/povray/smp/source-private/...'),
     ('-//depot/povray/smp/test/...','//buildbot/povray/smp/test/...'),
     ('-//depot/povray/smp/tools/...','//buildbot/povray/smp/tools/...'),
 
('-//depot/povray/smp/windows/...','//buildbot/povray/smp/windows/...'),
 
('-//depot/povray/smp/distribution/platform-specific/...','//buildbot/povray/smp/distribution/platform-specific/...'),
 
('-//depot/povray/smp/vfe/win/...','//buildbot/povray/smp/vfe/win/...')]


Post a reply to this message

From: Aydan
Subject: Re: python question
Date: 19 Dec 2013 13:05:00
Message: <web.52b3342ba476665c3771cd8e0@news.povray.org>
James Holsenback <nom### [at] nonecom> wrote:
> sorry don't speak python, why isn't this an array of tupels ....
>
> p4viewspec=[
> [snip]

It definitely is a list of tupels, the question is if the contents are as
expected by whatever program.

Regards
Aydan


Post a reply to this message

From: James Holsenback
Subject: Re: python question
Date: 19 Dec 2013 14:46:49
Message: <52b34d29@news.povray.org>
On 12/19/2013 01:00 PM, Aydan wrote:
> James Holsenback <nom### [at] nonecom> wrote:
>> sorry don't speak python, why isn't this an array of tupels ....
>>
>> p4viewspec=[
>> [snip]
>
> It definitely is a list of tupels, the question is if the contents are as
> expected by whatever program.
>
> Regards
> Aydan
>

thanks for the sanity check ... turns out the program that reads the 
list pads in the slashes. my list had too many of them


Post a reply to this message

From: Warp
Subject: Re: python question
Date: 19 Dec 2013 15:28:51
Message: <52b35702@news.povray.org>
Aydan <hes### [at] hendrik-sachsenet> wrote:
> [-- text/plain, encoding 8bit, charset: iso-8859-1, 13 lines --]

> James Holsenback <nom### [at] nonecom> wrote:
> > sorry don't speak python, why isn't this an array of tupels ....
> >
> > p4viewspec=[
> > [snip]

> It definitely is a list of tupels, the question is if the contents are as
> expected by whatever program.

What the heck is a tupel?

-- 
                                                          - Warp


Post a reply to this message

From: James Holsenback
Subject: Re: python question
Date: 19 Dec 2013 16:48:09
Message: <52b36999$1@news.povray.org>
On 12/19/2013 03:28 PM, Warp wrote:
> Aydan <hes### [at] hendrik-sachsenet> wrote:
>> [-- text/plain, encoding 8bit, charset: iso-8859-1, 13 lines --]
>
>> James Holsenback <nom### [at] nonecom> wrote:
>>> sorry don't speak python, why isn't this an array of tupels ....
>>>
>>> p4viewspec=[
>>> [snip]
>
>> It definitely is a list of tupels, the question is if the contents are as
>> expected by whatever program.
>
> What the heck is a tupel?
>

lol ... so i'm a bit dyslexic


Post a reply to this message

From: James Holsenback
Subject: Re: python question
Date: 19 Dec 2013 16:54:22
Message: <52b36b0e@news.povray.org>
On 12/19/2013 03:28 PM, Warp wrote:
> Aydan <hes### [at] hendrik-sachsenet> wrote:
>> [-- text/plain, encoding 8bit, charset: iso-8859-1, 13 lines --]
>
>> James Holsenback <nom### [at] nonecom> wrote:
>>> sorry don't speak python, why isn't this an array of tupels ....
>>>
>>> p4viewspec=[
>>> [snip]
>
>> It definitely is a list of tupels, the question is if the contents are as
>> expected by whatever program.
>
> What the heck is a tupel?
>
besides ... you knew what i meant :-P


Post a reply to this message

From: Orchid Win7 v1
Subject: Re: python question
Date: 22 Dec 2013 11:20:47
Message: <52b7115f$1@news.povray.org>
On 19/12/2013 08:28 PM, Warp wrote:

> What the heck is a tupel?

Isn't he the second in command to Janeway?


Post a reply to this message

From: Jim Henderson
Subject: Re: python question
Date: 22 Dec 2013 14:38:28
Message: <52b73fb4$1@news.povray.org>
On Sun, 22 Dec 2013 16:20:46 +0000, Orchid Win7 v1 wrote:

> On 19/12/2013 08:28 PM, Warp wrote:
> 
>> What the heck is a tupel?
> 
> Isn't he the second in command to Janeway?

No.

Chakotay was Janeway's second in command.  Tupok was the science officer.

Jim


Post a reply to this message

From: Orchid Win7 v1
Subject: Re: python question
Date: 22 Dec 2013 14:43:21
Message: <52b740d9$1@news.povray.org>
>>> What the heck is a tupel?
>>
>> Isn't he the second in command to Janeway?
>
> No.
>
> Chakotay was Janeway's second in command.  Tupok was the science officer.

Also works if you say "science officer in Star Trek: Enterprise". ;-)


Post a reply to this message

From: Jim Henderson
Subject: Re: python question
Date: 22 Dec 2013 16:23:04
Message: <52b75838@news.povray.org>
On Sun, 22 Dec 2013 19:43:20 +0000, Orchid Win7 v1 wrote:

>>>> What the heck is a tupel?
>>>
>>> Isn't he the second in command to Janeway?
>>
>> No.
>>
>> Chakotay was Janeway's second in command.  Tupok was the science
>> officer.
> 
> Also works if you say "science officer in Star Trek: Enterprise". ;-)

Except that was Voyager. ;)

Jim


Post a reply to this message

Goto Latest 10 Messages Next 5 Messages >>>

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