7
$\begingroup$

I have 8 python scripts and I need to lunch them at once. For one script, I used

blender --background --python script1.py

for the eight scripts, I tried this command but it does not work.

blender --background --python *.py
$\endgroup$
5
$\begingroup$

You can have multiple --python tags. For example:

blender --background --python script1.py --python script2.py

This will execute the scripts in the order they are added in the command above. Add as many --python arguments as you need (there is no limit on the number of scripts you can run).

$\endgroup$
  • $\begingroup$ I have already tried this but it did not work $\endgroup$ – BetterEnglish Jun 25 '15 at 19:22
  • $\begingroup$ Then I think you may need to add more information to your question as this method worked just now when I tried it. Are you getting any errors? $\endgroup$ – Ray Mairlot Jun 25 '15 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.