I've been creating figures using python matplotlib and saving them into my Dropbox folder for a while now using:
import matplotlib.pyplot as plt
from matplotlib.backends.backend_pdf import PdfPages
plot = plt.figure(1)
Created figure....
plt.show()
pp=PdfPages("OutFileName.pdf")
pp.savefig(plot)
pp.close()
This worked for a really long time, and still works, as long as my Directory contains no spaces. However, the Dropbox settings have now changed and I have two Dropbox folders (Work and Personal). The directory is now: "~/Dropbox (Work)/MyFolder/'
Is there any way to work around this?