Forum Archive

These pages contain a static archive of the old community forum for Pythonista (and Editorial) between 2012 and 2022. The Pythonista forum is now hosted on GitHub: → Join the Discussion!
Oct 15, 2016 - 22:42
dsoodak
Turned off my iphone's autocorrect but still on in pythonista. It ends up replacing a bunch of characters on the last couple of lines(curre...
Oct 15, 2016 - 18:19
cvp
I try to use the photos module to set the GPS tags/exifs of a photo. If I pick two assets from the camera roll, a1 which has GPS tags and a2...
Oct 15, 2016 - 17:39
ducky908
I just started learning to code and wanted to do more when I'm not on my laptop so downloaded Pythonista. I made this script and when I comp...
Oct 15, 2016 - 07:07
stevetheipad
Hi! I want to be able to write video scripts on my iPad, and then be able to press a button to have the script spit out into a page format t...
Oct 14, 2016 - 22:56
uj_jonas
I have an iPad 4 with 720p resolution. When I run this code, the webview prevents me from scrolling to the right. ``` import ui main = ui.V...
Oct 13, 2016 - 07:44
ramvee
Hi, I am unable to figure out, how to make user choose two tablecell values from different tables, and get these values out the function to ...
Oct 12, 2016 - 12:05
wolf71
1. using load_view('myui'), how can I get the quit event ? 2. how to show the pick music view? ``` import ui def mediaPicker_didPickMedia...
Oct 12, 2016 - 02:57
PhillHarmonix
I did search and couldn't find any information about this. Basically I want to edit a novel in Editorial and had a few questions. The first ...
Oct 11, 2016 - 18:54
Phuket2
I struggle to find a good way to apply styles to ui elements. With this subject you can cut the cake a million ways. Below code is just so...
Oct 11, 2016 - 18:44
rtorot
Hi, I am considering buying Editorial for editing markdown on iPad. The other alternative is 1writer, i don't know what are the main differ...
Oct 10, 2016 - 18:25
uj_jonas
I wanted to convert HTML to PDF and looked it on Google. I found the [pdfkit docs](https://pypi.python.org/pypi/pdfkit), but when I tried us...
Oct 10, 2016 - 18:10
JonB
Has anyone had success `invok`ing an NSBlock? I have a python objc class that i have crated, which is accepting an ObjCBlock as an argument...
Oct 10, 2016 - 12:14
DaddyCakes
Hi All, I'm curious as to how can we install and use Flask in Pythonista? I have seen a tutorial on how to use bottle. Is there a similar t...
Oct 10, 2016 - 11:47
DaddyCakes
Hi All, I'm starting to study Python and Web Development. I have read a couple of useful articles about flask and so I want to focus on thi...
Oct 10, 2016 - 06:25
AtomBombed
I forgot how to change the style of the TableView in order to add description labels. Can anyone remind me?
Oct 09, 2016 - 18:13
Webmaster4o
When we were discussing a cleaner `objc_util` syntax a few months ago, the suggestion of using kwargs was rejected because there as no way t...
Oct 09, 2016 - 13:32
cycreek
Hello, I have an iPhone 5c jailbroken on 9.0.2 and Pythonista crash everytime I launch it. I can't find anything useful on the crashlog, th...
Oct 09, 2016 - 06:09
polymerchm
Trying to create a regex find/replace tool for the editor Looked at editmenu for staters, but when execute, it errors with self.pre...
Oct 08, 2016 - 12:41
mikael
Available as a Gist: deploy-to-lambda.py - https://gist.github.com/711970991ff701adc02335d79e5d0cf6 Playing with virtualenv on Pythonista w...
Oct 08, 2016 - 10:49
Phuket2
@omz, I just wonder if it's worth having another area to post tips, shares m tutorials etc... opposed to posting them in this area. I like/...
Oct 08, 2016 - 08:44
naturale
It would be really, really exciting to see following modules running on iOS Pythonista. - SciPy - Pandas - Scikit-learn (- statsmodels) I ...
Oct 08, 2016 - 08:10
naturale
Want to have following modules running on iOS Pythonista. - SciPy - Pandas - statsmodels - scikit-learn (- networkx, GraphViz)
Oct 07, 2016 - 17:45
Phuket2
This is a re-share. I was looking for something today and come across this. It's just some code to get all unique attrs across all ui elemen...
Oct 06, 2016 - 15:38
Phuket2
This is still Lab, because still thinking though it. But the idea is to make a grid of a rectangle returning a list of lists (2 dimensional...
Oct 06, 2016 - 08:41
0x77
I have some code that runs something like this: ```python call = '({})({})'.format(code, args) result = js.eval_js(call) print(result) retu...
Oct 05, 2016 - 21:47
newtoonie
I'm creating a game on pythonista and wondering, how can import custom sound files? I hear I can use the Dropbox API (never done something l...
Oct 04, 2016 - 18:43
Trizard
I'm new to Pythonista and the way objc_util interacts. Currently I trying to query the dual cameras on an IPhone 7 Plus. I'm using the new w...
Oct 03, 2016 - 21:37
seribrick
Does setting `Asset.location` on a photo propagate to iCloud? I have a script that changes location on photos of a iCloud photo library. I d...
Oct 03, 2016 - 11:32
tomkirn
Hi Ole, I really like the new object inspector. It's a great new feature inside the console. Just a few suggestions from me: - is it possib...
Oct 02, 2016 - 04:41
ihf
Ever since going to Pythonista 3, I can't seem to run stash. I am getting _outputcapture module not found. Perhaps I need a new stash? If so...
Oct 01, 2016 - 23:58
disorientedp
A large amount of the questions asked on here have been answered before. If we had a FAQ pinned post, we wouldn't have to answer as many rep...
Oct 01, 2016 - 15:50
ismba98
Isn't there a way to load files from outside the app for example from iCloud drive
Oct 01, 2016 - 14:50
TutorialDoctor
UI designer is great. It could use some new features. I'm starting this post for people to share their ideas. Please do so in the following ...
Sep 30, 2016 - 14:40
Phuket2
I am sure I have done this type of tip before. But as time passes on and new users join they get old. This is only for people who don't know...
Sep 30, 2016 - 04:49
lvinci
Webbrowser register and get do not to seem to be valid attributes webbrowser.register('chrome') webbrowser.get('chrome') Is there a way to...
Sep 29, 2016 - 09:55
omz
Just a quick heads-up for those of you who are still on iOS 8 or 9: The current beta of Pythonista 3 (build 301008) requires iOS 10, and wil...
Sep 27, 2016 - 18:49
Phuket2
Well I went off on a bit of a tangent tonight , yet again. But I was thinking about options to connect my views to Custom Classes as you ca...
Sep 27, 2016 - 11:32
JonB
Here is a little class to mimic the old sidebar presentation style from pythonista's past. https://gist.github.com/8e872d12349ed11484ead763...
Sep 27, 2016 - 03:31
ihf
I just upgraded my iPad 3 to IOS 9.3.5 and after downloading the latest beta of Pythonista 2, I find that it exits as soon as I try to start...
Sep 25, 2016 - 18:52
Phuket2
Hmm, Sunday nights 😱 Ok, this is a function to create a vertical list of views. Granted, it's not difficult, but can be a pain. The below ...
Sep 25, 2016 - 09:29
GroundhogDayLoop
How would I go about connecting table view methods from the (.py) code file, for example, to the actual table view built in the UI Builder s...
Sep 25, 2016 - 08:44
lachlantula
Hi everyone, simple question today (hopefully). Is there a way to change the priority of an element in a UI (ie. sending something to the f...
Sep 24, 2016 - 21:07
tileyon
The following is a comment on a reply you posted to one of my recent posts titled "Pythonista 2.1 problem". Your reply ended with the line b...
Sep 24, 2016 - 19:36
Phuket2
Playing with the idea of how to share snippet functions Vrs something more substantial. I mean in the forum it could be tagged [snippet] th...
Sep 24, 2016 - 17:42
fustbariclation
How do I get a module into pythonista, so I can import it? I am actually wanting the medical images package dicom, but I'd like to know how...
Sep 24, 2016 - 13:14
Phuket2
I often find that when trying to make a ui, I want to call parts of the code that eventually will be called by an interface interaction. Wh...
Sep 23, 2016 - 13:22
Phuket2
I got a very strange optical illusion with the code below. Was trying to make a radial blur effect. Is interesting. ```python ''' Python...
Sep 23, 2016 - 11:04
aronchi
Some ios apps allows to share a directory of app documents. When you connect the ipad to a PC (like a simple Ubuntu 16) you can see all this...
Sep 23, 2016 - 09:55
Phuket2
Does anyone know if there is a way to access the snippets saved in the preferences. I could not find anything in the forum about this. I al...
Sep 23, 2016 - 06:27
tileyon
After upgrading to Pythonista 2.1 many of my scripts no longer run. Popular scripts such as "Editmenu.py" no longer work. The corresponding ...