Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[a37b2b]: macros / samples / macro_1152753515_1067.py Maximize Restore History

Download this file

macro_1152753515_1067.py    19 lines (12 with data), 492 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
'''
This software is licensed under the GPL (GNU General Public License) version 2
as it appears here: http://www.gnu.org/copyleft/gpl.html
It is also included with this archive as `gpl.txt <gpl.txt>`_.
'''
import time
creation_date = 'Wed Jul 12 18:18:35 2006'
name = 'Timeout Failure for all Pythons'
def macro(self):
print "An exception will be printed after 10 seconds, even though one should be printed after 5"
self.root.SetStatusText("Check the log.")
time.sleep(10)