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
- 날짜
- swift
- 함수
- 맛집
- port
- flutter
- pandas
- mssql
- javascript
- tensorflow
- sqlite
- Unity
- PyQt
- PyQt5
- ubuntu
- Linux
- python
- IOS
- Excel
- GIT
- ASP
- urllib
- node.js
- MySQL
- 유니티
- 리눅스
- PER
- 다이어트
- 라즈베리파이
- MS-SQL
Archives
목록2018/10/16 (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