일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- go
- Finance
- 레파지토리
- psutil
- apt-get
- APT
- go.mod
- dockercontainer
- docker
- python3.9
- FastAPI
- 자식프로세스
- 가상화 중첩화
- 스트리밍
- 파이썬
- repo
- Replication
- pip
- golang
- BATCH
- Python
- asyncio
- 자원측정
- 영상스트리밍
- Windows
- 주식
- Hyper-V
- Thread
- mariadb
- QT_QPA_PLATFORM_PLUGIN_PATH
- Today
- Total
목록파이썬 (2)
검색하기귀찮아서만든블로그
# -*- coding: utf-8 -*- import struct import ctypes # 구조체 정의 class _ST_TEST(ctypes.Structure): _fields_ = [ ("cVal", ctypes.c_char), ("byVal", ctypes.c_ubyte), ("sVal", ctypes.c_short), ("usVal", ctypes.c_ushort), ("nVal", ctypes.c_int), ("uVal", ctypes.c_uint), ("lVal", ctypes.c_long), ("ulVal", ctypes.c_ulong), ] # 구조체 포맷 정의 _ST_TEST_FMT = '!c B h H i I l L' # 스트럭처 데이터 생성 stSrc = struct.pack(_..
# Django 설치 $ pip3 install django # Celery 설치 (task) $ pip3 install celery # Redis 설치 (broker) $ apt install redis-server $ wget http://download.redis.io/redis-stable.tar.gz $ tar xvzf redis-stable.tar.gz $ cd redis-stable $ make # 설치 # redis 실행 (옵션은 비동기 실행 redis.conf 에서 설정 가능) $ redis-server --daemonize yes # 정상 동작 확인 $ redis-cli ping > PONG # redis 서버 종료 방법 $ pkill redis-server # 장고 프로젝트를 생성한다..