Notice
Recent Posts
Recent Comments
Link
아미(아름다운미소)
python PyQt5 현재시간 출력 본문
python PyQt5 현재시간
#-*- coding: utf-8 -*- ''' Created on 2018. 12. 3. @author: bhm ''' from PyQt5.QtCore import QTime current_time = QTime.currentTime() text_time = current_time.toString("hh:mm:ss") time_msg = "현재시간: " + text_time print(time_msg)현재시간: 13:14:46
'랭귀지 > python' 카테고리의 다른 글
PyQt5 : QHeaderView의 헤더를 클릭하면 QTableView를 정렬하는 방법 (0) | 2018.12.08 |
---|---|
python 서버 시간 확인 (0) | 2018.12.05 |
이클립스 실행 오류, 로딩 화면이 깜빡하고 사라지면서 실행이 안되는 현상 (0) | 2018.12.03 |
[pyqt5]stylesheet를 사용하지 않고 색상을 변경 (0) | 2018.12.02 |
[python] subprocess 모듈을 이용한 명령어 실행 (0) | 2018.12.01 |
Comments