Exemple #1
0
 def initialize(self):
     for i in range(10,0,-1):
         sleep(1)
         self.write(ac.clear + ac.move2(12, 40) + str(i))
     self.write(ac.clear + ac.move2(12,40) + ac.blink + u'任意键继续')
     self.pause()
     data = tidy_anim(self.render_str('movie'), 21)
     self.anim = self.load(Animation, data, pause=self.pause,
                           start_line=0,  callback=self.play_done)
     self.anim.run(playone=True)
Exemple #2
0
 def _get_anim(self):
     return tidy_anim(self.render_str('active'), 7)
Exemple #3
0
 def _get_anim(self):
     return tidy_anim(self.render_str('active'), 7)