일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- nginx-media-server
- Sysinternals
- ffmpeg
- macos
- configmap
- Python
- 행정구역분류
- dart
- wireshark
- Android
- service
- Windows10
- Kubernetes
- Shell script
- Pod
- Flutter
- Java
- spring cloud config
- ebpf
- RTMP
- golang
- VSCode
- aws
- docker
- kubectl
- HLS
- namespace
- deployment
- aws cli
- android studio
Archives
- Today
- Total
목록Sorting (1)
woonizzooni
[Python] dict -> ['(key, value)'] sorted array 만들기 (value로 > 그 이후 key로)
value(정수)으로 정렬 후 동일 값일 경우 key로 정렬을 시도할 것이다. python2.x - dict.viewitems(), dict.iteritems(), ... Python 2.7.16 (default, Jun 5 2020, 22:59:21) [GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc- on darwin Type "help", "copyright", "credits" or "license" for more information. >>> d={'apple':2, 'banana':3, 'almond':2, 'beetroot':3, 'peach':4} >>> [(k,v) for k, v in sorte..
Programming/Python
2020. 10. 10. 18:32