Hi,
Considering the float 0.0, I would like to print 00.00.
I tried '%02.02f' % 0.0 ... but I get 0.00
Any clue ?
Thanks,
hg
--
http://mail.python.org/mailman/listinfo/python-list
Neil Cerutti wrote:
> On 2007-02-13, hg <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> Considering the float 0.0, I would like to print 00.00.
>>
>> I tried '%02.02f' % 0.0 ... but I get 0.00
>>
>> Any clue ?
>
> Yes. How wide (total) i
NOSPAM plz wrote:
> hg skrev:
>> Hi,
>>
>> Considering the float 0.0, I would like to print 00.00.
>>
>> I tried '%02.02f' % 0.0 ... but I get 0.00
>>
>> Any clue ?
>>
>> Thanks,
>>
>> hg
>>
>>
> T
Peter Otten wrote:
> hg wrote:
>
>> Considering the float 0.0, I would like to print 00.00.
>>
>> I tried '%02.02f' % 0.0 ... but I get 0.00
>>
>> Any clue ?
>
> The first integer specifies the total width:
>
>>>
Neil Cerutti wrote:
> The eighth-graders will be presenting Shakespeare's Hamlet in the church
> basement on Friday at 7 p.m. The congregation is invited to attend this
> tragedy. --Church Bulletin Blooper
;-) I like that !
hg
--
http://mail.python.org/mailman/listinfo/python-list
Grant Edwards wrote:
> On 2007-02-13, hg <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> Considering the float 0.0, I would like to print 00.00.
>>
>> I tried '%02.02f' % 0.0 ... but I get 0.00
> ^^
> That's the specifierfor how
> Its ugly and boring.
It's rude, unnecessary _and_ boring
--
http://mail.python.org/mailman/listinfo/python-list
rg/~esr/faqs/smart-questions.html
>>
>> Diez
>
>
> The main problem seems to be locating Python.
>
> Even though I installed the official python for mac, it says the
> interpreter is invalid.
> So I tried jPython, no succes on that either. It always tells me I am
John wrote:
> Is there any built in function that converts ASCII to integer or vice
> versa in Python?
>
> Thanks!
>>> int('10')
10
>>> str(10)
'10'
>>>
--
http://mail.python.org/mailman/listinfo/python-list
Some people spend many buck bying guessing games ... be nice !
hg
--
http://mail.python.org/mailman/listinfo/python-list
people do not have your wonderful
brain and still have to make it through 60+ years of life of learning ?
hg
--
http://mail.python.org/mailman/listinfo/python-list
hg wrote:
> f u
"f o" of course
--
http://mail.python.org/mailman/listinfo/python-list
de of main() which are valid in all sub-modules?
>
> Thanks very much for your help!
Might be wrong, but globals can only be global to the module they're
declared in.
I suggest you find another way such as passing your object as a parameter
hg
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Do I need the pywin32 extentions to:
1) change the pc system date ?
2) launch a ppp connection ?
Thanks,
hg
--
http://mail.python.org/mailman/listinfo/python-list
hg wrote:
> Hi,
>
> Do I need the pywin32 extentions to:
>
> 1) change the pc system date ?
> 2) launch a ppp connection ?
>
> Thanks,
>
> hg
Yes to both I guess.
hg
--
http://mail.python.org/mailman/listinfo/python-list
value = self.Get_Value()
if value == WHATEVER:
do this
Is there a way to avoid such a bug with some type of construct ?
Thanks,
hg
--
http://mail.python.org/mailman/listinfo/python-list
Michele Simionato wrote:
> pychecker
Thanks all ... pydev extension does not however ... will have to install
pychecker also.
hg
--
http://mail.python.org/mailman/listinfo/python-list
201 - 217 of 217 matches
Mail list logo