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
- GIT
- ubuntu
- 다이어트
- 리눅스
- MS-SQL
- sqlite
- tensorflow
- PER
- flutter
- Excel
- node.js
- urllib
- 맛집
- port
- IOS
- PyQt
- 함수
- Unity
- PyQt5
- Linux
- 날짜
- pandas
- mssql
- 유니티
- swift
- MySQL
- python
- 라즈베리파이
- ASP
- javascript
Archives
목록sched (1)
아미(아름다운미소)
python [timer] 파이썬에서 n 초마다 반복적으로 함수를 실행하는 또다른 방법
범용 이벤트 스케줄러를 구현하는 sched 모듈을 사용하는 방법도 있습니다.import sched, time s = sched.scheduler(time.time, time.sleep) def do_something(sc): print "반복실행..." s.enter(60, 1, do_something, (sc,)) s.enter(60, 1, do_something, (s,)) s.run()
랭귀지/python
2018. 10. 16. 09:30