Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- C#
- error
- VS Code
- mysql
- 핑거스타일
- JSON
- 오류
- 컨테이너
- YOLO
- Docker
- nvidia-smi
- pytorch
- windows forms
- OpenCV
- label
- pip
- Numpy
- SSH
- ubuntu
- 채보
- Python
- Linux
- paramiko
- Visual Studio
- pandas
- 기타 연주
- C
- C++
- Selenium
- 프로그래머스
Archives
- Today
- Total
목록timedelta (1)
기계는 거짓말하지 않는다

datetime 모듈의 timedelta 를 이용한다. timedelta 객체 datetime — 기본 날짜와 시간 형 — Python 3.10.7 문서 datetime — 기본 날짜와 시간 형 소스 코드: Lib/datetime.py datetime 모듈은 날짜와 시간을 조작하는 클래스를 제공합니다. 날짜와 시간 산술이 지원되지만, 구현의 초점은 출력 포매팅과 조작을 위한 docs.python.org from datetime import timedelta import time delta = timedelta(days=50, seconds=27, microseconds=10, milliseconds=4, minutes=5, hours=8, weeks=1) print(delta) start_time = t..
Python
2022. 9. 11. 20:23