Python to Perl transalators
andreengels at gmail.com
Wed Mar 18 11:23:26 CET 2009
On Wed, Mar 18, 2009 at 6:27 AM, <Abhinayaraj.Raju at emulex.com> wrote:
> -----Original Message-----
> From: chris at rebertia.com [mailto:chris at rebertia.com] On Behalf Of Chris Rebert
> Sent: Wednesday, March 18, 2009 10:53 AM
> To: Raju, Abhinayaraj
> Cc: python-list at python.org
> Subject: Re: Python to Perl transalators
> 2009/3/17 <Abhinayaraj.Raju at emulex.com>:
>> Could anyone suggest whether there is any Python to Perl code convertors?
>> I found one on the net viz. Perthon. But it wasn’t really helping out.
> Why on earth would you want to? That'd be like translating Shakespeare
> into a bad rap song!
> I have a blog:
> I am just a beginner learning both the languages. Wondered if I can have some comparative understanding of both.
I think automatic translation would be a very bad way of getting
understanding of both. Translating from another language to Python
usually leads to very un-Pythonic code - syntactically correct and
working Python, but not 'real' Python. I assume that translating from
Python to Perl will lead to something similarly un-Perlish.
André Engels, andreengels at gmail.com
More information about the Python-list