I am using anaconda 3 and I want to know how to execute blender from python. Since python can be called from inside blender so it has to be possible vice versa. Does anyone know how to do this? Please help me by providing the procedure for setting up the environment for this.
The easiest way would be to use the subprocess module to start Blender.
import subprocess subprocess.run(["/path/to/blender", "somefile.blend"])
Since python can be called from inside blender so it has to be possible vice versa.
This is not a very logical statement. Just because Blender embeds Python doesn't mean anything when it comes to starting Blender from Python.