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
- 다이어트
- mssql
- flutter
- MS-SQL
- Linux
- 함수
- node.js
- PER
- GIT
- MySQL
- PyQt
- PyQt5
- 날짜
- 맛집
- pandas
- Excel
- swift
- sqlite
- javascript
- ubuntu
- 유니티
- 리눅스
- urllib
- ASP
- IOS
- python
- port
- Unity
- 라즈베리파이
- tensorflow
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