I wanna run a function each frame. So I create a new script and type in the following:
import bpy
def my_handler(scene):
print("Frame Change", scene.frame_current)
print("test")
bpy.app.handlers.frame_change_pre.append(my_handler)
The problem is, that it simply doesn't work. When I hit "Run Script", "test" is written to the console, but nothing else happens then.