I want to export the rotation of all objects to a .txt file, but I dont know the actual python ommands in Blender. Made some try with google's help:
import bpy
ob = bpy.context.object
for ob in bpy.data.objects:
f=open('output.txt','w')
f.write(ob.rotation.euler[0])
f.close()