Re: [Tutor] Syntax error help

2012-03-31 Thread bob gailer
Thank you for posting your code. Did you forget to reply-all? I am copying this to the list this time. You apparantly misunderstood my question about what you do to run the program. You said I import then call the first function (the displaymenu) or I have it called in the code it does it

Re: [Tutor] Problem Stripping

2012-03-31 Thread Mark Lawrence
On 31/03/2012 03:01, bob gailer wrote: Then, of course, there's 15:45.replace(':','') For the record in earlier Python versions such as the one the OP is using you can do allchars = .join([chr(x) for x in range(256)]) 'www.example.com'.translate(allchars, 'cmowz.') 'exaple' As of Python

[Tutor] breeds of Python .....

2012-03-31 Thread Barry Drake
After following the reading suggestions, I soon found myself looking at quite a few code examples that would only run under a particular version of python. Finally, I converted the example that I was working on to run under Python3. I just wondered if you guys would advise a newbie like me

Re: [Tutor] breeds of Python .....

2012-03-31 Thread Modulok
After following the reading suggestions, I soon found myself looking at quite a few code examples that would only run under a particular version of python. Finally, I converted the example that I was working on to run under Python3. I just wondered if you guys would advise a newbie like me to

Re: [Tutor] Syntax error help

2012-03-31 Thread Alan Gauld
On 31/03/12 03:33, S.Irfan Rizvi wrote: Please remove me from listi can't do itthey are doing it Attention ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Syntax error help

2012-03-31 Thread S.Irfan Rizvi
Its failing i can't able to unsubcribe please remove me from its not going to Span either *Error: **Authentication failed.*Tutor list: member options login pageIn order to change your membership option, you must first log in by giving your email address

Re: [Tutor] breeds of Python .....

2012-03-31 Thread S.Irfan Rizvi
please remove me from here On Sat, Mar 31, 2012 at 4:28 PM, Modulok modu...@gmail.com wrote: After following the reading suggestions, I soon found myself looking at quite a few code examples that would only run under a particular version of python.  Finally, I converted the

Re: [Tutor] breeds of Python .....

2012-03-31 Thread S.Irfan Rizvi
please remove me from here ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] breeds of Python .....

2012-03-31 Thread Brett Ritter
On Sat, Mar 31, 2012 at 5:37 PM, Barry Drake bdr...@crosswire.org wrote: concentrate on Python3 or stay with Python2 and get into bad habits when it comes to change eventually?  Apart from the print and input functions, I haven't so far got a lot to re-learn. My recommendation is to go with