Skip to content

Instantly share code, notes, and snippets.

@cesarpachon
Created April 8, 2015 13:44
Show Gist options
  • Save cesarpachon/3fc12a352dff60d27a4b to your computer and use it in GitHub Desktop.
Save cesarpachon/3fc12a352dff60d27a4b to your computer and use it in GitHub Desktop.
blender python
# exec an external python script (http://www.blender.org/api/blender_python_api_2_59_2/info_tips_and_tricks.html)
filename = "/full/path/to/myscript.py"
exec(compile(open(filename).read(), filename, 'exec'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment