Notice
Recent Comments
Link
아미(아름다운미소)
판다(pandas)를 사용하여 현재 시간을 얻는 방법 본문
- pandas 설치
C:\ProgramData\Anaconda3\envs\py35>pip install install pandas=0.18.1
2018-11-08
2018
11
8
10
39
22
601097
#-*- coding: utf-8 -*- ''' Created on 2018. 10. 30. @author: bhm ''' #판다를 사용하여 현재 시간을 얻는 방법. import pandas as pd print (pd.datetime.now()) print (pd.datetime.now().date()) print (pd.datetime.now().year) print (pd.datetime.now().month) print (pd.datetime.now().day) print (pd.datetime.now().hour) print (pd.datetime.now().minute) print (pd.datetime.now().second) print (pd.datetime.now().microsecond)2018-11-08 10:39:22.601097
2018-11-08
2018
11
8
10
39
22
601097
'랭귀지 > PYTHON' 카테고리의 다른 글
not all arguments converted during string formatting (0) | 2018.11.10 |
---|---|
pymysql 설치 및 사용 (0) | 2018.11.09 |
판다(pandas)를 사용하여 현재 시간을 얻는 방법 (0) | 2018.11.08 |
How to check the existence of a row in SQLite with Python? (0) | 2018.11.05 |
[python] os.startfile Windows 특정 프로그램을 실행하는 방법 (0) | 2018.11.04 |
파이썬 exe파일 만들기 pyinstaller (0) | 2018.11.03 |
- Tag
- current time, pandas
0 Comments