I am relatively new to Python. Love it, but I find things that I can do
easily in .NET and cannot find a way to do in Python. I need to format a
number as currency, for example 12343.56 to $12,343.56.
In C# all I need to do is decimal x = 12343.56 then x.ToString("$###,###.00");
I cannot find
Thanks very much all for respondingI got it working. As you
indicated, I just had mixed up my escapes (//) with my \n. When I got
the correct amount of backslashes and removed the linefeeds it worked
great.
Thanks again.
--
http://mail.python.org/mailman/listinfo/python-list
quot; + x
print str(cnt) + " total..."
print str(cntNotFound) + " not found..."
if __name__ == '__main__':
MainProcess()
Many thanks to anyone in advance to can tell me what I am doing wrong!
Platform is XP with PythonWin.
Richard Kessler
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
Just build python 2.3.4 (needed for Zope and Plone). Trying to learn more
about use the data in sys.path from importing. When I run Python at the
command prompt, import sys and print sys.path I get stuff that makes no
sense. For example, /usr/local/lib/python23.zip.
Such a file does not even live