Apr-21-2018, 12:12 PM
Hi, I'm a noob in python and I'm trying hard to get it to work.
I want to run a command line from a python script that will launch a blender render like so :
or
But it doesn't work. Help will be appreciated..
I want to run a command line from a python script that will launch a blender render like so :
1 2 3 |
import os command = "C:\Program Files\Blender Foundation\Blender\blender untitled 02.blend -b -a" os.system(command) |
1 2 |
import subprocess subprocess.Popen( "C:\Program Files\Blender Foundation\Blender\blender.exe untitled 02.blend -b -a" ) |