Running python script in Blender

You can also execute the following code in the python console to execute an external script without opening it up in the text editor: filename = “/full/path/to/myscript.py” exec(compile(open(filename).read(), filename, ‘exec’)) The above code comes from the following link: Blender – Tips and Tricks