mň ôÔ5;c@svdZdkZdkZdkZdkTdklZlZdefd„ƒYZd„Z e djo eƒndS(sş Simple Forking Alarm Sample Application for DateTime types and CommandLine. Only works on OSes which support os.fork(). Author: Marc-Andre Lemburg, mailto:mal@lemburg.com N(t*(s ApplicationsArgumentOptiontAlarmcBsGtZdZeddƒeddƒeddƒgZdZd „ZRS( NsSimple Forking Alarms-ss"set the alarm to now + arg secondss-ms"set the alarm to now + arg minutess-as$set the alarm to ring at arg (hh:mm)s0.1cCsŐtƒ|idp!|iddp|iddt}|id}|ot|dtdd ƒƒ}n|tƒjo d GHdSnd G|GHti ƒp/t i |tƒi ƒt ƒtid ƒndS( Ns-ss-mi<s-his-as%H:%MtsecondisAlarm time has expired...sAlarm will ring at(tnowtselftvaluest oneSecondtatimetabststrptimettodaytostforkttimetsleeptsecondstalarmt_exit(RRR((tE/data/zmath/lib/python2.4/site-packages/mx/DateTime/Examples/alarm.pytmains<   (t__name__t __module__theadertArgumentOptiontoptionstversionR(((RRs   cCsEx>tdƒD]0}tiidƒtiiƒtidƒq WdS(s Ring alarm i sf0.20000000000000001N(trangetitsyststdouttwritetflushR R(R((RR+s   t__main__( t__doc__R RR t mx.DateTimet CommandLinet ApplicationRRRR(RRRR$R R R((Rt? s