# run a python string blender.exe test.blend --background --python-expr "import bpy;print( 'obj count:'+str(len(bpy.context.scene.objects)) )" # run through a python script blender.exe test.blend --background --python "processThat.py"