Re: "End Of Line" Confusion

2005-05-18 Thread Jordan Rastrick
If you email the script to me, I'd be happy to take a look at it and see if I come up with the same error (I'm running IDLE on a Windows XP box here, cant remember if the filesystem is FAT or NTFS ;-)) Although as a relative newbie I've never come across it myself, one possible source of such myst

Re: "End Of Line" Confusion

2005-05-18 Thread ncf
First off, my apologies...Google Groups doesn't seem to want to let me reply inline. I refrained from putting the name in there as it's potentially offensive (gotta love America). If you would aid you, I can send you the entire Python script via. email. Editor was IDLE on Slackware Linux using the

Re: "End Of Line" Confusion

2005-05-17 Thread Jordan Rastrick
Well, copying and pasting this text, and changing <<>> to Foo so that its a legal Python identifier (why did you not want to name your class, out of curiosity), I get no problems with this. class Foo: def digest(): ''' char[28] digest ( ) Return the digest of the strings passe

"End Of Line" Confusion

2005-05-17 Thread ncf
I'm having an odd problem. I'm getting an error from IDLE saying "End Of Line detected while scanning single-quoted string." Odd thing is, it's not single-quoted, it's one of the doc-strings (if that's what you call them). In the following code (class name replaced with <<>>), the error is being h