Getting into Python, comming from Perl.

Daniel Dittmar daniel.dittmar at sap.corp
Mon Apr 25 05:59:42 EDT 2005


Miguel Manso wrote:
> I've tryed to use python some times but I get frustrated very quick. I 
> get myself many times needing to figure out how to loop through a list, 
> declare an associative array, checking how to pass named parameters to 
> functions, and simple things like that.

Create a cheat sheet with all those stock phrases that you know by heart 
in Perl, but have to look up in Python. That way, it's only one look. 
And you'll know them by heart soon enough.

You could also print out or keep bookmarks on the modules you use the 
most. When I started using Python, I did this for strings, regular 
expressions and the os and os.path modules.

Daniel



More information about the Python-list mailing list