Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 |
Tags
- 유니티
- Linux
- mssql
- 맛집
- ASP
- PER
- python
- port
- urllib
- 라즈베리파이
- 날짜
- 함수
- PyQt5
- 다이어트
- javascript
- 리눅스
- sqlite
- flutter
- PyQt
- pandas
- MySQL
- node.js
- GIT
- Unity
- IOS
- swift
- ubuntu
- MS-SQL
- tensorflow
- Excel
Archives
목록2018/11/15 (1)
아미(아름다운미소)
python 숫자 출력에서 천(1000) 단위마다 콤마를 출력
python 숫자 출력에서 천(1000) 단위마다 콤마를 출력 1. format 지정 - 파이썬 2.7 이상 value = 123456789 print "{:,}".format(value) 2. locale모듈 사용 : import locale print locale.setlocale(locale.LC_ALL, 'en_US') print locale.format("%d", 123456789, grouping=True)
랭귀지/python
2018. 11. 15. 09:00