I'm working on a project for which I would like to dump data into a
file in a specified directory (that doesn't necessarily exist yet). I
know matplotlib.mlab.save(fname, X) will only work if I want to save
data from an array/list to a file in the current working directory. Is
there an easy way using matplotlib to:
A) Save a file to a specified directory rather than the current
B) Create a directory I tell it to save to if it doesn;t already exist
Thanks in advance.