Best way to get the list of files in my dropbox folder in editorial
robopu last edited by
i'm wondering how to specify my dropbox folder (what is the path) using python in editorial so that i can get a list of files in that folder?
also is the ui module in editorial and pythonista the same? ie if i borrow ui code from pythonista community which is more active than editorial will it work in editorial? from what i can tell they're identical.
finally, it looks like editorial comes with a useful list of python modules to use but if for some reason i want to pip install something else not already included, is it possible and if so how?
jsamlarose47 last edited by
Dropbox list: there are a few workflows in the directory that'll probably help you here, but as a starter, you can use something like:
p = editor.get_path() print(p)
...with a Dropbox file open in the editor to get the path.
UI module: I copied the stopwatch example from Pythonista into Editorial, no problems.
Installing modules: possible to an extent, but not as convenient as in Pythonista. See here: https://forum.omz-software.com/topic/3921/library-module-for-editorial-via-pythonista