MCPcopy Create free account
hub / github.com/ActiveState/code / update

Function update

recipes/Python/510391_TV_Player/recipe-510391.py:29–42  ·  view source on GitHub ↗
(screen)

Source from the content-addressed store, hash-verified

27 raise SystemExit
28
29def update(screen):
30 global X, Y
31 screen.after(100, update, screen)
32 X += 1
33 if X == 5:
34 X = 0
35 Y += 1
36 if Y == 5:
37 Y = 0
38 screen.move(1, 1280, 960)
39 else:
40 screen.move(1, 1280, -240)
41 else:
42 screen.move(1, -320, 0)
43
44if __name__ == '__main__':
45 main()

Callers

nothing calls this directly

Calls 2

afterMethod · 0.45
moveMethod · 0.45

Tested by

no test coverage detected