Dear Guru, I have added def and it doesnt work Sincerly, F

phil hunt philh at comuno.freeserve.co.uk
Thu Mar 14 20:54:11 EST 2002


On 15 Mar 2002 01:12:23 GMT, Gerhard Häring <gerhard at bigfoot.de> wrote:
>Oscar wrote in comp.lang.python:
>> I have added 
>> 
>> def joinsplit = (join(split(lines, '"'), ' '))
>>         return joinsplit
>
>No wonder this doesn't work, as you've apparently haven't made very
>much effort to understand what you're doing here.
>
>Sorry to be so blunt, but you can't write software just by guessing
>about the syntax. 

Really? I do some of the time, when I don't remember it and can't be 
bothered to look in the manual.

>If you want to learn programming in Python, then go
>to http://www.python.org/ and head to the newbie page there.
>
>If you don't want to learn programming, perhaps because it's too much
>effort, then the only option is to find somebody to do it for you. 

The surprising thing is, the rest of his defs are OK.

-- 
<"><"><"> Philip Hunt <philh at comuno.freeserve.co.uk> <"><"><">
"I would guess that he really believes whatever is politically 
advantageous for him to believe." 
                        -- Alison Brooks, referring to Michael
                              Portillo, on soc.history.what-if



More information about the Python-list mailing list