Re: Perl to Python conversion

2009-12-28 Thread Simon Brunning
2009/12/25 Aahz : > > I'd write an imperial to metric converter in Python  ;-) Should be possible to use unum () to do the conversions. The SI units are already defined - adding in any necessary imperial units should be easy enough. -- Cheers, Simon B. -- http://mail.pytho

Re: Perl to Python conversion

2009-12-25 Thread John Yeung
On Dec 13, 5:23 pm, martin.sch...@gmail.com (Martin Schöön) wrote: > r0g writes: > > You'll probably find the majority of code in a GUI > > app is boring window handling stuff [...] > > Also, they probably didn't make it with > > QT which is fairly different from GTK. > > Tk is what they used. We

Re: Perl to Python conversion

2009-12-25 Thread Aahz
In article <87zl5rnayz@crunchbang.belkin>, Martin =?utf-8?B?U2Now7bDtm4=?= wrote: > >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

Re: Perl to Python conversion

2009-12-13 Thread Martin Schöön
r0g writes: > > I'd recommend you start from scratch and refer to the perl version if > and when you need to. That is my plan. > You'll probably find the majority of code in a GUI > app is boring window handling stuff rather, often this is machine > generated (by progs like glade) rather than ha

Re: Perl to Python conversion

2009-12-13 Thread r0g
Martin Schöön wrote: > Thanks all, great response! > > A little more background: > > I am not a programmer but I have done some programming in the past. > This was all humble number crunching as part of my PhD project using > FORTRAN. I also did some Rocky Mountain Basic coding for programs > man

Re: Perl to Python conversion

2009-12-12 Thread Colin W.
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.

Re: Perl to Python conversion

2009-12-10 Thread Martin Schöön
Thanks all, great response! A little more background: I am not a programmer but I have done some programming in the past. This was all humble number crunching as part of my PhD project using FORTRAN. I also did some Rocky Mountain Basic coding for programs manipulating measurement instruments. An

Re: Perl to Python conversion

2009-12-10 Thread J Kenneth King
martin.sch...@gmail.com (Martin Schöön) writes: > First off: I am new here and this is my first post after > lurking for quite some time. Hi. > Second off: I don't know much Python---yet. It's not a very big language. If you have experience programming in other languages, you can probably pick

Re: Perl to Python conversion

2009-12-09 Thread Peter Chant
Martin Schöön wrote: > 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? Voice of almost no experience. I once ran a f

Re: Perl to Python conversion

2009-12-09 Thread Intchanter / Daniel Fackrell
On Dec 9, 1:33 pm, martin.sch...@gmail.com (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

Re: Perl to Python conversion

2009-12-09 Thread zeph
Python and Perl often have different design idioms - learning to write *well* in a language involves understanding those idioms, and being able to translate between languages involves understanding the source language well enough to understand the intent of the program's code (even if its poorly wr