[Tutor] Comma Chameleon?

Curtis Larsen curtis.larsen@covance.com
Mon, 25 Mar 2002 12:20:12 -0600


<grin>
I'm  probably missing it, but isn't there some sort of formatting
option for use with the 'print' command that will automagically insert
commas into a number?  If not, what's the best Pythonic method to do
this?  (Note: I don't need currency or a +/-: I just want 123456789 to
look like 123,456,789.)

Thanks!
Curtis



-----------------------------------------------------
Confidentiality Notice: This e-mail transmission 
may contain confidential or legally privileged 
information that is intended only for the individual 
or entity named in the e-mail address. If you are not 
the intended recipient, you are hereby notified that 
any disclosure, copying, distribution, or reliance 
upon the contents of this e-mail is strictly prohibited. 

If you have received this e-mail transmission in error, 
please reply to the sender, so that we can arrange 
for proper delivery, and then please delete the message 
from your inbox. Thank you.