Using __repr__ or __str__ for own printable class?
Irmen de Jong
irmen at -NOSPAM-REMOVE-THIS-xs4all.nl
Mon Apr 14 20:14:45 CEST 2003
Peter Hansen wrote:
> Irmen de Jong wrote:
>>Erik Max Francis wrote:
>>>[<ExtractionTransfer @ 0x82893ac (out of `low orbit around `Earth'')>,
>>><HohmannTransfer @ 0x812cef4 (Hohmann from `Earth' to `Mars')>,
>>><InsertionTransfer @ 0x82adb64 (into `low orbit around `Mars'')>]
>>Is this actual code? What does this do? I'm interested.
> Given that Python is an "agile language", it seems very likely that
> it must be an implementation of Robert Zubrin's XP-style "Mars Direct"
> program for a manned mission to Mars.
> <0.9 wink but I wish it were lower-ly y'rs>
I *was* serious...
If it is real code I suspect it somehow determines a path for a
free moving object in space to transfer from one orbit to another
orbit around different bodies in the solar system.
At least that is what a quick google for "Hohmann orbit transfer"
tells me. And I'm still interested ;-)
More information about the Python-list