/
ilya.petrash
/
SimplePyScripts
Обзор
Документация
Войти
/
ilya.petrash
/
SimplePyScripts
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
0.0.0
Timer/pyside_qtimer.py
22 строки
257 B
Ilya Petrash
Добавлен Timer.
17 окт 2014, 22:56
17 окт 2014, 22:56
b14367c
Код
Авторство
О чём код?
__author__ = 'ipetrash' """Пример таймера.""" from PySide.QtCore import * import sys def say(): print("say!") app = QCoreApplication(sys.argv) t = QTimer() t.setInterval(1000) t.timeout.connect(say) t.start() sys.exit(app.exec_())