Can you open the Files app and find the large file? Then delete that file?
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.
Posts made by jgoalby
-
RE: I'm stuck in a loop that crashes the app on startup every time. I suspect the solution is simple, but I don't know what it is. Please help.
-
RE: Portability question from a 'newbie'
I will suggest using version control through something like github. You can have private repositories so you can keep your code private.
To that end, on iOS I would suggest the app called Working Copy. It’s reasonably simple to use and removes the need for arcane command line antics.
In pythonista you can open external files and then navigate to your working copy entry I. The files app.
On windows you can use github desktop as another ui based github client.
Good luck!
-
RE: mypy does not install
I decide to try mypy today. It seems that pip install mypy does now install mypy but ends up having problems accessing typed-ast package. It appears that typed-ast includes c code which does not run on Pythonista.
Back when this thread started a year ago mypy didn’t appear to use typed-ast so that wasn’t an issue. I tried installing older versions of mypy but had other issues with them.
Has anyone got mypy to work on Pythonista?
-
RE: Insane TypeError on project
I know what is causing the error but don’t know exactly why. In your funcs.py module, you have a vision_cut function. It doesn’t have a default return. It has elif that are not always going to be entered.
So if no condition is met I presume python returns None for the tuple which then cannot be unpacked into the two values. This I am not 100% sure of but it seems logical.
John.
-
RE: New to Python - Jupyter Notebook
That’s an interesting question. I haven’t tried to do it. I did a little bit of research and came across the following that looks promising:
https://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Importing Notebooks.html
“Importing Jupyter Notebooks as Modules
It is a common problem that people want to import code from Jupyter Notebooks. This is made difficult by the fact that Notebooks are not plain Python files, and thus cannot be imported by the regular Python machinery.
Fortunately, Python provides some fairly sophisticated hooks into the import machinery, so we can actually make Jupyter notebooks importable without much difficulty, and only using public APIs.”
There might be other approaches that will work. I used the following search:
copy jupyter code to python
-
RE: New to Python - Jupyter Notebook
Check out Juno on iOS. Search for “Juno for jupyter” on the App Store.
-
RE: Pythonista2 removed from the AppStore?
Have you looked in your purchase history in the App Store?
-
RE: TableView style header and footer
I’m still trying to wrap my head around this!
it seems like the header and footer labels can be added to the table view after it was created by the controller? And it looks like the controller is fed empty strings. Clever.
Not a deal breaker for me but I tried making font bigger for the header. Say 80. And then set h_header larger as well. I fiddled with other values, but it seemed the existing rows in the table view did not move. Is that expected or something I am missing?
Thanks again. This will be way easier than what I thought I was facing.
-
RE: Error numpy
I haven’t used numpy in Pythonista and I don’t have your code to work from so could be completely off the mark here, but if you do import numpy as np, wouldn’t the random_sample need to be referenced as np.random_sample?
A quick test got this to work:
import numpy as np print(np.random.random_sample())
-
RE: iOS 12 malfunction
Another point of reference for you. I have iOS 11 on my iPad still and it runs fine at 60fps. Sometimes goes down to 58fps when I rotate. I’ll update my iPad to iOS 12 soon and can confirm the slowness most likely.
-
RE: TableView style header and footer
Thank you for the responses. I’ll check them out tonight.
-
TableView style header and footer
I have a settings dialog I am making using formdialog. I would like to style (font and text color) the header (and footer) for sections in the tableview. I believe I need to handle something like tableView_viewForHeaderInSection_.
I don’t see that method in the classes provided in pythonista. It seems I need to make my own tableview using the objc facility and handle it there.
I wonder if there’s an easier way either built in that I am missing or by bolting on a handler to the existing class.
Thanks in advance