I've been processing some pictures using PIL and now see that Pythonista takes 2.7 GB on my iPad. How can I recover this space without deleting the application and scripts, please.
Peterh last edited by
This could be caused by several things. One is that your scripts create files and the script or you don't delete them when they are not needed any more. Pythonista only shows you files with extension .py; you don't see the others.
You can see and delete all files using a simple python script, for example: http://omz-software.com/pythonista/forums/discussion/74/advanced-shell-shellista
Thank you very much Peter. Looking at Documents, the default directory with Shellista, I see all my .py scripts, an Images directory (which is empty). I tried looking around above there (Library, and the directory for Pythonista itself), but noticed nothing taking up the space. Do you have any additional pointers, please?
Alongside Pythonista.app, there is a tmp directory, which I suspect contains all the unwanted files. I wonder if there's a safe way to delete these, rm . (if shellista is capable). Would it let me delete files not associated with Pythonista, accidentally?
I cd'd to the tmp directory, noticed that all files started tmp..., and did rm tmp* which has freed more than 2GB. Happy. This 'should' happen automatically or manually more easily in Pythonista. My guess is we're all wasting space; I was just wasting a lot due to all the image processing. I hope one day an update will add this, and maybe even add numpy :-)