Python for Perl programmers?

John Zhuang zhuangzy at cn.ibm.com
Mon Sep 20 22:57:08 EDT 2004


      Perl To Python Migration
      By Martin C. Brown

      Publisher : Addison Wesley
      Pub Date : November 01, 2001
      ISBN : 0-201-73488-5
      Pages : 320


-- 
John Zhuang
Integrated Technology Services
Advisory IT Specialist
zhuangzy at cn.ibm.com
"Markus Dehmann" <markus.cl at gmx.de> ????
news:c1e48b51.0409201820.217e1dd at posting.google.com...
> I am using perl for everything, even bigger programs, with objects,
> uh, modules and stuff. I know pretty much every trick in perl and have
> a lot of experience.
>
> But I'd like to try a cleaner language, where you don't have to type
> so much crap to create a class etc. So, I wanna give python a try.
>
> Is there a tutorial that takes all the standard perl things and then
> explains how to do them in python? That would be perfect. Open a file,
> take all the words, put them in a hash, do something with them, print
> the result in a formatted way, write it to a new file etc. Create a
> class that downloads newsgroups, etc. Things like that.
>
> I don't need long explanations, but just the perl code and the
> corresponding python code. Maybe that even helps seeing: ah, python is
> much cleaner, or shorter, or whatever.
>
> I mean, if I want to learn French and I already know a lot about
> languages, it's probably good not to learn all the grammar, but just
> to take an English book and the French translation, and learn from it.
> I want to do the same to learn python.
>
> Thanks for every hint!
> Markus





More information about the Python-list mailing list