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

Gerhard Häring gerhard at bigfoot.de
Thu Mar 14 20:12:23 EST 2002


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. 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. 

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



More information about the Python-list mailing list