For the last couple of years, 지난 2년간, my wife and I have relied on an ancient Garmin GPS for long road trips, in part 나와 나의 부인은 긴 도로 여행에 옛날 Garmin GPS 에 일부 의존했다 because it had a useful feature that Google Maps lacked: speed limits. 왜냐하면 이것은 구글 맵보다 더 유용한 기능을 가지고있었기 때문이다. We might end up switching soon, because Google has begun rolling out the feature to Google Maps on iOS and Android devices. 우리는..
우분투 Docker 설치 및 사용법 docker 설치curl -s https://get.docker.com/ | sudo sh docker 권한 설정sudo usermod -aG docker docker 버전확인docker version 우분투 이미지 설치docker run ubuntu docker 실행docker run ubuntu:16.04 ※옵션-it : bash shell 사용--rm : exit 시 컨테이너 제거-p 80:80 : port 포워딩-d : 백그라운드 docker 컨테이너 확인docker ps -a docker 이미지 확인docker images -a docker 중지docker stop 컨테이너 제거docker rm exit한 컨테이너 재접속docker attach 수정한 이미지로..
python queue를 이용한 multiprocessing 기초 뼈대 import multiprocessing #동작 실행 함수 def do_work(item): print item #Queue 전달 함수 def worker(q): for item in iter(q.get, None): do_work(item) q.task_done() q.task_done() #메인 함수 def main(): #동작 프로세스 개수 num_procs = 5 #큐 데이터 items = [1,2,3,4,5,6,7,8,9,10] q = multiprocessing.JoinableQueue() procs = [] for i in range(num_procs): procs.append(multiprocessing.Process(..
- Total
- Today
- Yesterday
- termcolor
- 파이썬 웹파싱
- python3
- 우분투 tar
- python3 환율
- python web framework
- python
- 뉴스기사번역
- multiprocess
- 우분트 프로세스 백그라운드
- tar 압축
- python3 환율 api
- 파이썬
- python multiprocess
- 우분투
- docker 사용법
- 파이썬3 크롤러
- python thread
- python3 파싱
- python color print
- 파이썬 파싱
- 도커 사용법
- multiprocessing
- 도커 설치
- terminal print color
- docker 설치
- python queue
- apt-get error
- 파이썬 user-agent
- 파이썬 병렬
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |