py6是什么货币
Oh, that's an interesting beast.
I've spent considerable time of getting that right, there are three main issues that differs from locale to locale:
文章插图
- currency symbol and direction
- thousand separator
- decimal point
I've written my own rather extensive implementation of this which is part of the kiwi python framework, check out the LGPL:ed source here:
The code is slightly Linux/Glibc specific, but shouldn't be too difficult to adopt to windows or other unixes.
Once you have that installed you can do the following:
【py6是什么货币】Which will then give you:
or
Depending on the currently selected locale.
The main point this post has over the other is that it will work with older versions of python. locale.currency was introduced in python 2.5.
- redline是什么牌子
- 奥赛班是什么意思
- 鸡精是什么提炼出来的
- rosht是什么牌子手表
- 呵呵是什么意思猪叫
- hoco是什么品牌
- 阿里里阿里里阿里阿里里是什么歌
- 侠客岛是什么媒体
- libs是什么文件夹可以删除吗
- 挡烟垂壁的作用是什么