지난 5년간 분기별 의원수 확인해봄
https://kosis.kr/statHtml/statHtml.do?orgId=354&tblId=DT_HIRA47
문제시 삭제함
지난 5년간 분기별 의원수 확인해봄
https://kosis.kr/statHtml/statHtml.do?orgId=354&tblId=DT_HIRA47
문제시 삭제함
class KV: | |
store = {} | |
def __getitem__(self, key): | |
return getattr(self, key) | |
def get(cls, key: str) -> str: | |
return cls.store[key] | |
def set(cls, key: str, value: str) -> None: |
name,latitude,longitude | |
Kapuas,0° 13' 7.0998" S,109° 12.516993' E | |
Mahakam,0° 35' 0.069" S,117° 16.252653' E | |
Volga,46° 50' 38.0834" N,47° 45.057522' E | |
Mossy,52° 8' 49.1028" N,106° 38' 49.3224" W | |
Selenga,52° 9' 11.6658" N,106° 33' 58.6778" E | |
Yukon,62° 30' 47.7673" N,196° 10.836928' E | |
Colville,70° 15' 35.6971" N,209° 9' 1.0276" E |
NO. | XCOORD. | YCOORD. | |
---|---|---|---|
0 | 0 | 0 | |
1 | 50 | 13 | |
2 | 47 | 24 | |
3 | 5 | 15 | |
4 | 5 | 1 | |
5 | 44 | 44 | |
6 | 27 | 10 | |
7 | 38 | 21 | |
8 | 24 | 31 |
from pwd import getpwnam | |
from grp import getgrnam | |
from os import popen, chown | |
def sanitize_file_list(file_list: list) -> list: | |
"""Remove files that are not in the current directory""" | |
result = [] | |
for _list in file_list: | |
if _list[-1] == "." or _list[-1] == "..": |
python test_key_in_balanced.py
SET 100000 keys
CHECK keys in every shards
0: 33300
1: 33388
2: 33312
3: 0
# Redis configuration file example. | |
# | |
# Note that in order to read the configuration file, Redis must be | |
# started with the file path as first argument: | |
# | |
# ./redis-server /path/to/redis.conf | |
# Note on units: when memory size is needed, it is possible to specify | |
# it in the usual form of 1k 5GB 4M and so forth: | |
# |