Perl to Python conversion

Colin W. cjwilliams43 at gmail.com
Sat Dec 12 12:22:34 EST 2009


On 09-Dec-09 15:33 PM, Martin Schöön wrote:
> First off: I am new here and this is my first post after
> lurking for quite some time.
>
> Second off: I don't know much Python---yet.
>
> Problem: I have come across a small open source application
> that I find quite useful. It does have one major flaw though.
> Its output is in imperial units. Converting isn't a big deal
> for occasional use but if I start to use this stuff on a
> regular basis...
>
> So I down-loaded the source code and found this thing is written
> in Perl.
>
> Should I learn enough Perl to add the conversion? Probably
> but this may be a nice excuse to get my Python education
> going and if I do I might as well re-do the user interface.
>
> If I do re-write this thing in Python I might need to learn both
> Perl and Python...
>
> Hence, are there any Perl to Python converters? So far I
> have only found bridgekeeper which really is (was?) consultancy.
> Apart from that I only find people recommending a manual re-write.
>
> Any thoughts/recommendations?
>
> TIA,
>
> /Martin

Martin,

If you convert the Perl, you continue the other fellow's errors.  If you 
do it yourself, you'll be able to make your own - there should be fewer 
of them.

Google: unit conversion python

you'll have lots of offers.

Colin W.



More information about the Python-list mailing list