#Python Script for Blender 3d that rotates currently selected object and sets keyframes
import bpy
for x in range(1,250,10):
bpy.data.scenes["Scene"].frame_current=x
bpy.context.object.rotation_euler.x+=1
import sys, pygame, pygame.midi
import os #for calling xte to 'sendkeys' My not be the best way, but works...on Linux...if you have xautomation installed