The sprit of this newsgroup!

Martijn Faassen m.faassen at vet.uu.nl
Fri Feb 21 16:13:23 EST 2003


Peter Hansen <peter at engcorp.com> wrote:
>> >Ah, you mean "programmers".  ;-)
>> 
>> Or "gurus", "senior (anything)", "certified (anything)" - most often those who
>> feel the need to plaster their "title" on every post.
> 
> Hey!  I'm a senior certified guru and I take offense at that statement!
> 
> -Guru Peter "Senior" Hansen, Certified Guru of the Senior persuasion

Dear Guru,

I have a problem with my phython. I am trying to change my string using:

mystring[10] = 'f'

but it doesn't work. I then tried the ternary operator as I understood
from the discussion that it would save the universe (or be its utter
doom, possibly, I wasn't sure, but it sure must be the most powerful feature
ever in Python..by the way what is a PEP?):

mystring[10 if 9 > 7 else ? 7 : 10 - 2 then 15] = 'f'

but it still didn't work!

Dear certified senior guru, please help.

Martijn "Ternary Salvation" Faassen
-- 
History of the 20th Century: WW1, WW2, WW3?
No, WWW -- Could we be going in the right direction?




More information about the Python-list mailing list