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 |
Tags
- MIPS
- control
- web
- instruction
- Class
- function
- system
- while
- DoM
- computer
- python
- html
- architecture
- javascript
- mysql
- DATAPATH
- CSS
- data structure
- XML
- Java
- Algorithm
- MacOS
- Pipelining
- for
- react
- github
- php
- DB
- DS
- Linux
Archives
- Today
- Total
목록TIME (1)
YYYEJI

모듈(module)이란? 모듈이란 함수나 변수 또는 클래스를 모아 놓은 파일입니다. datetime 모듈을 이용하기 위해서는 data time 모듈을 import 해줘야됩니다. from datetime import timedelta • datetime 내장 모듈의 timedelta 클래스는 기간을 표현합니다. • timedelta 클래스의 생성자는 주, 일, 시, 분, 초, 밀리 초, 마이크로 초를 인자로 받습니다. from datetime import date, timedelta today = date.today() # Today days print(today) one_week = timedelta(weeks=1) # Number of Weeks print(one_week) ◡̈
Python
2022. 11. 3. 18:07