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!
Jul 31, 2015 - 12:44
georg.viehoever
I am at home in the Linux world. Playing around with Pythonista gives the Impression that I have to live with a number of limitations due to...
Jul 30, 2015 - 19:43
cook
It works! Here's a user interface that you can set up to run from the action extension (sized for iPad). It automatically copies the code...
Jul 30, 2015 - 19:08
difiore
The 'insert GPS and map data' and 'get location' workflows do not seem to work in iOS 8.4 (but comparable code works in Pythonista) and this...
Jul 30, 2015 - 15:57
omz
I've been experimenting a lot with the new `objc_util` module lately, and I thought I'd share a few more advanced examples. So here's the fi...
Jul 30, 2015 - 12:29
omz
Build #160020 is now available via TestFlight. Please use this thread for feedback. I've just added a couple of new people to the TestFli...
Jul 30, 2015 - 03:38
roosterboy197
I have a custom UI I'm presenting in a Python script action. My custom view class has a `will_close()` handler where I want to save off some...
Jul 30, 2015 - 03:06
Obelisk
1. I wanna try editor.replace\_text, it works well in example, but if i add editor.make\_new\_file, it wont work after editor.make\_new_file...
Jul 29, 2015 - 01:44
Jozh
What do I add to this script so it output each element (date,text, width and, length ) on a separate lines of the open file? '\n' ? Thanks...
Jul 29, 2015 - 00:26
cook
Is it possible to get the HTML from a loaded url in UI.Webview?
Jul 28, 2015 - 01:59
amazzuca
Hi to everyone. I would like to know if there is some way to download scripts from my Desktop PC into my iphone. Thanks for your help. ...
Jul 28, 2015 - 00:14
roosterboy197
We can set horizontal alignment in a textview, but what about vertical centering? Is there a way to accomplish that? I tried using ui.CONTEN...
Jul 27, 2015 - 23:05
ManuelU
What would be de Phytonista script code to read a binary file stored in the App sandbox into a 2D float point array for further processing. ...
Jul 27, 2015 - 19:37
TutorialDoctor
Hello. I go by the TutorialDoctor. Long time user of Editorial trying to get more into Python. I like to learn stuff, and also to teach stuf...
Jul 27, 2015 - 16:38
Phuket2
Maybe this is a stupid question. But is there anyway to change the size of my iPad's screen to say to the size of a iphone5s or iphone 6? Of...
Jul 27, 2015 - 16:04
ccc
matplotlib.plot() puts an image onto the Pythonista console. I can tap and hold on that image to copy it to the clipboard, etc. Is there...
Jul 27, 2015 - 10:29
JonB
Thought I'd share some of my objc experiments. if you have been playing with this new module, do share your endeavors! https://github.co...
Jul 26, 2015 - 18:00
georg.viehoever
Hi, one of my goals with Pythonista is to write programs on iPad that run more complex computations on a PC or Mac host. One of the ways ...
Jul 26, 2015 - 17:02
MDB
I just ran into something odd. It's a minor issue, but please check it out when you have time. If a colon appears anywhere in the first ...
Jul 26, 2015 - 16:12
Webmaster4o
Can I process video frame-by frame in PIL? I want to take a video, perform different operations on the video, then reform it into a video.
Jul 26, 2015 - 05:41
Obelisk
Thanks in advance, sorry,i didnt say it clearly,so edit again:by using code 1. how to not show keyboard when tapping in editor by using...
Jul 25, 2015 - 23:40
rudijuri
Hello everyone, excuse my ignorance, but I do not understand why Pythonista returns error when, for example, the code is like this: ```p...
Jul 25, 2015 - 23:10
georg.viehoever
Hi, I am new to Pythonista, so forgive me if this has been discussed elsewhere: I tried to install Pyro4 (a pure Python RPC package, h...
Jul 25, 2015 - 07:34
Cethric
This is purely just a proof of concept HTML editor, which I have decided to publically release. I appologise now to all those people who cri...
Jul 24, 2015 - 15:08
Phuket2
Hmmm. OMG I read in some data using JSON and made a list out of all the records I read in. Then I used JSON to dump them to a file name.txt...
Jul 23, 2015 - 18:57
ccc
Will `ctype` or other allow a Pythonista app to determine battery level or signal strength?
Jul 23, 2015 - 12:19
Obelisk
1.How to get Syntax-highlight Python code on screen while running, e.g. this: import random print 'hello' print random.rand...
Jul 23, 2015 - 02:20
Sgranade
I was working in Editorial on a plane with my iPad in airplane mode. I created and wrote several documents "in Dropbox". The next time I ope...
Jul 22, 2015 - 17:30
Webmaster4o
Can workflow pass an image to pythonista to be used with PIL in pythonista?
Jul 22, 2015 - 14:11
Cook92
I have an idea rattling in my brain and one of the big pieces of it is about UI. With UI in Pythonista, is it possible to have a secondar...
Jul 22, 2015 - 12:13
omz
So, with Apple's new TestFlight, I can finally have a lot more beta testers, and won't have to worry about device limits so much. If you'...
Jul 22, 2015 - 08:31
Rosanne
In the ios contacts, you can add extra dates, for things like anniveraries. I'd like to use them to add birthdays of children, since they re...
Jul 22, 2015 - 08:07
oghh
iPad 2, iOS 8.4, editorial 1.2.1 Neither **editorial://back** nor **editorial://** seems to be known to Safari. However, **editorial-ht...
Jul 22, 2015 - 02:55
drscheme
I have an app that runs in a while true loop. I want to exit the app correctly. How can I do this? On a typical console app I'd use a "tr...
Jul 21, 2015 - 23:17
Webmaster4o
Can I have a drop shadow behind a ui.view? Is this what `ui.set_shadow()` is for? I can't find a single example of `ui.set_shadow()` online....
Jul 21, 2015 - 20:10
alicemanchester
I installed Editorial for the first time and received the following message within the Editorial app when synchronising with my Dropbox ...
Jul 21, 2015 - 15:30
donnieh
So when I plot, I noticed matplot doesn't like x^2 and other similar formats. Instead it wants Python based math expressions such as x**2. ...
Jul 21, 2015 - 12:53
ExParrot101
Hi— anybody else get that script timeout message? Is it behind a "syntax error" preventing execution of valid lines of code (like x=1)? Thi...
Jul 21, 2015 - 12:39
smath
I'm working on a joystick UI element, and have run into some behavior I don't understand. For one, I find that the touch location seems to j...
Jul 20, 2015 - 16:53
ericalba
Editorial Version: 1.2.1 iPad Air 2 / iOS 8.4 TextExpander snippets not working in top area field where you rename untitled file name.
Jul 20, 2015 - 03:09
userista
I'm not sure how to do this in Python, and specifically in Pythonista - I want to make 4 asynchronous (and concurrent) requests and parse t...
Jul 20, 2015 - 00:14
Sebastian
How can I convert a PIL Image to a ui.Image?
Jul 19, 2015 - 10:57
Phuket2
Has anyone written a custom class around a scrollview or other ui element that acts as a type of virtual display container? Something like y...
Jul 19, 2015 - 09:31
Rosanne
I just installed stash (very cool!) and wanted to use pip to install pylint. It seemed to work, but when I tried to run it I got an error sa...
Jul 18, 2015 - 21:14
zencuke
ever since the new beta came out I have been trying to download it. I've tried about 10 time over that time. At first I thought it was my fl...
Jul 18, 2015 - 19:19
osbass
I'm on iOS 8.4 and am just getting started with Editorial. I have TE Touch installed and activated, and have refreshed the snippets in Edito...
Jul 18, 2015 - 17:29
Phuket2
I copied the code below from the fourm here. I have downloaded a lot of image files from the web using requests lib. They are in .jpg format...
Jul 17, 2015 - 16:10
Quartet46
Hello #Editorial workflow to Makedoc I am trying to make a workflow that will copy a markdown document automatically into makedoc So ...
Jul 17, 2015 - 12:12
lei.xia
Hi, Thanks for you great product, I am wondering if you guys has any plan to include the opencv module? I found on the opencv website, t...
Jul 17, 2015 - 12:05
Webmaster4o
If the user clicks into a textfield, how can I force them out of it? A user edits a textfield, then presses a button, which should close the...
Jul 16, 2015 - 16:03
rayalez
Hi! Is it possible to use praw in editorial workflows? How can I install an external python module?