Jul-12-2019, 12:18 AM
I am in the process of learning Python3.x, with prior experience in Perl.
I am wondering if there is anything out there that teaches Python from a Perl users perspective, such as comparing similar scripts as examples. Or even better, a 'cookbook' with examples in both languages?
I find Perl to be excellent for my text processsing needs (copious amounts of $a s/x/y/ type statements) but it seems a bit ponderous for web and network functions which I wish to be getting into. I want to update a DBI script into Python, for example.
It would be nice to be able to do perl *within* Python - are there any extant wrapper modules for things like the magic of <>,@_, and $_? The only one I was able to find is now a 404.
I am wondering if there is anything out there that teaches Python from a Perl users perspective, such as comparing similar scripts as examples. Or even better, a 'cookbook' with examples in both languages?
I find Perl to be excellent for my text processsing needs (copious amounts of $a s/x/y/ type statements) but it seems a bit ponderous for web and network functions which I wish to be getting into. I want to update a DBI script into Python, for example.
It would be nice to be able to do perl *within* Python - are there any extant wrapper modules for things like the magic of <>,@_, and $_? The only one I was able to find is now a 404.