You can get the path to the root of Pythonista's "file system" with os.path.expanduser("~/Documents"), and the path to the Pythonista.app bundle (read-only) using os.path.dirname(sys.executable). Other accessible parts of the file system (also read-only) include /System/Library and subfolders, as well as / (but not most of its subfolders).
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.