Paul Rubin wrote:
> Neal Becker <[EMAIL PROTECTED]> writes:
>> Like a puzzle? I need to interface python output to some strange old
>> program. It wants to see numbers formatted as:
>>
>> e.g.: 0.23456789E01
>
> Yeah, that was normal with FORTRAN.
>
>> My solution is to print to a string with
Neal Becker <[EMAIL PROTECTED]> writes:
> Like a puzzle? I need to interface python output to some strange old
> program. It wants to see numbers formatted as:
>
> e.g.: 0.23456789E01
Yeah, that was normal with FORTRAN.
> My solution is to print to a string with the '% 16.9E' format, then
>
Michael Spencer wrote:
> Neal Becker wrote:
>
>>Like a puzzle? I need to interface python output to some strange old
>>program. It wants to see numbers formatted as:
>>
>>e.g.: 0.23456789E01
>>
>>That is, the leading digit is always 0, instead of the first significant
>>digit. It is fixed width
Neal Becker wrote:
> Like a puzzle? I need to interface python output to some strange old
> program. It wants to see numbers formatted as:
>
> e.g.: 0.23456789E01
>
> That is, the leading digit is always 0, instead of the first significant
> digit. It is fixed width. I can almost get it with
[EMAIL PROTECTED] wrote:
>
> [EMAIL PROTECTED] wrote:
>> Neal Becker wrote:
>> > Like a puzzle? I need to interface python output to some strange old
>> > program. It wants to see numbers formatted as:
>> >
>> > e.g.: 0.23456789E01
>> >
>> > That is, the leading digit is always 0, instead of th
[EMAIL PROTECTED] wrote:
> Neal Becker wrote:
> > Like a puzzle? I need to interface python output to some strange old
> > program. It wants to see numbers formatted as:
> >
> > e.g.: 0.23456789E01
> >
> > That is, the leading digit is always 0, instead of the first significant
> > digit. It is
Neal Becker wrote:
> Like a puzzle? I need to interface python output to some strange old
> program. It wants to see numbers formatted as:
>
> e.g.: 0.23456789E01
>
> That is, the leading digit is always 0, instead of the first significant
> digit. It is fixed width. I can almost get it with '