Stash is here:
To install updated version of requests type this in stash command line:
pip install requests
And similarly for Dropbox
pip install dropbox
If they claim to already be installed, try:
pip update requests
pip update dropbox
Note you will need to kill Pythonista and restart for it to pick up the updated libraries
The DropboxSetup.py can also be found in the synchronator Github repo. The quickest way to get it may simply be to copy and paste its raw content into an empty script in Pythonista.
Note I found that I also needed to use stash/pip to install a new and updated version of requests. The default version installed by Pythonista has a bug that Dropbox hits at runtime.
It works fine most of the time. However, when I make modifications to the pages it regularly fails to reload the files.
Sometimes the caching appears to persist even when I kill Pythonista and restart.
bottleI am doing so with:
bottle.TEMPLATES.clear() run (host='localhost', port=8088, debug=True, quiet=False)
The debug code clearly shows that it is not reloading the files that I have changed.
I've tried serving the files with both
templatebut it makes no difference.
I've executed the same code on my PC and it clearly picks up the modified files.
Is there a way I can stop
bottledoing any sort of caching? Or is there some kind of Pythonista bug here?
My suspicion is that I have a old process of bottle running that refuses to die. I will try a hard reset of my Ipad.
I'm almost at the point of installing my own version of
bottleand hacking the code to stop it from caching.
All help greatly appreciated!
My applications need to display a lot of tabular data (metrics, financial info etc.). I currently use bottle and webbrowser to achieve this with HTML and CSS (Python/Pythonista backend).
If I wanted to display using the new <code>ui</code>, what would be considered "best practice" for cleanly displaying Multi-columnar data in Pythonista?
I note that TableView is for single columns and that there is no CollectionView yet. Would a WebView be the logical approach?