티스토리 뷰
- 운영체제 : Ubuntu 18.04
- 개발 도구 : vscode
- 사용 언어 : Python 3.7
실행 예시
sample.py -hotpix [숫자]
try:
if sys.argv[1] == '-hotpix':
cnt = 100
#핫픽셀 분석모드
try:
cnt = int(sys.argv[2])
hotpix(cnt)
except IndexError:
hotpix(cnt)
else:
print('함수 인자 에러.')
except IndexError:
#셀 분석
cellcnt_start()
'Programming > Python' 카테고리의 다른 글
influxdb time format(rfc3339) to datetime (0) | 2019.09.27 |
---|
댓글
Notice
Recently Posted
TAG
- vue.js
- nginx
- 예외처리
- autossh
- letsencrypt
- 인자값
- influxdb
- Peverse Proxy
- datetime
- FlightAware
- ADS-B
- rfc3339
- Raspberry Pi
- Python
Posts by Date