[Tutor] Python challenge and decryption
col speed
ajarncolin at gmail.com
Tue Dec 20 00:47:42 CET 2011
On 20 December 2011 03:00, Joaquim Santos <jsantos.lazer at gmail.com> wrote:
> Hi list!
>
> This is my first post here but I've been following the list for some time
> now! I know that recently there was a message about decryption and all. I
> think that was what made me go back into the Python challenge and try to
> solve some of them...
>
> For the second one, I first laid on paper my ideas, about user interaction
> (or input) and what would do what.
>
> I haven't implemented the user input yet but as I tested I ended up having
> some problems. Anticipated but still annoying...
>
> My Python version is 2.7.1 and my OS is Linux Mint 11.
>snip<
> Joaquim Santos
>
> http://js-vfx.com
>
> linkedin
>
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
Have a look at the string module, particularly string.maketrans and
string.translate. I think they are in the builtin str in version 3x,
but in 2.7 you have to import string.
Hope that helps
Col
More information about the Tutor
mailing list