Re: [Tutor] How does slicing work?

2012-06-16 Thread Alan Gauld
On 16/06/12 03:48, Kanone Seele wrote: Hello,I'm a beginner in python.I found some qustions in Chapter 9's Quiz of the book/Learning Python,4th ed/, There's a bunch of math behind slicing but one of the best descriptions I found when I was learning Python was to think of the slice action as a

Re: [Tutor] getpass

2012-06-16 Thread Alan Gauld
On 16/06/12 06:44, Mike Nickey wrote: "Prompt the user for a password without echoing." -- http://www.python.org/doc//current/library/getpass.html However when I run it in Eclipse, the password is clear as day. Remember Eclipse is a development environment not aruntime environment. Like all I

Re: [Tutor] How does slicing work?

2012-06-16 Thread Kanone Seele
Thank you guys~ the two blades method really works well! And I think it'd be better to dive into the source code of Pytho.Well,it seems difficult for me now. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://ma

Re: [Tutor] How does slicing work?

2012-06-16 Thread Mark Lawrence
On 16/06/2012 13:16, Kanone Seele wrote: Thank you guys~ the two blades method really works well! And I think it'd be better to dive into the source code of Pytho.Well,it seems difficult for me now. ___ Tutor maillist - Tutor@python.org To unsubscri

[Tutor] Simple Python Address Book (Advice welcome!)

2012-06-16 Thread mariocatch
Hello All, I'm currently in the midst of learning Python, and am absolutely loving the language thus far! I'm a .NET developer in my professional life, and have been recently influenced to learn Python - and I'm glad I was :) I am working on an address book application (input through raw_input(