my script looks something like this:
import Blender import pickle SomeJunk = "blah blah blah" f = file('junk.txt', 'w') pickle.dump(SomeJunk, f) f.close()
The output always goes to Blender’s folder, as in the one with Blender.exe. Is there a way to save the output to the folder containing the .blend file the script was run from? thanks!