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!
Dec 31, 2014 - 23:34
Ald
Hi folks I am new to phythonista, iPad and Python. I need the following code to open up a text file in the script folder of pythonista :...
Dec 30, 2014 - 07:23
briarfox
@omz It appears that site-packages is not the site packages in sitedir. Could we please get it added? I was hoping that a sitecustomize.py i...
Dec 29, 2014 - 22:24
Togow
I have lots of text like that below. The first line at the top of the paragraphs contain a percentage and a colon (eg 16.7%:). Below it appe...
Dec 29, 2014 - 00:39
Dan_Patterson
worked yesterday (day 2 using Pythonista)... getting an error ... ImportError: cannot import name add_newdocs The general configuration do...
Dec 28, 2014 - 22:11
Togow
Hello I need someone to assist me to create workflows and I am happy to pay for this. Please do get in touch ASAP. My email is: TOgowewo@...
Dec 28, 2014 - 14:53
agalli
When I add a Math action, and try to edit the Expression field, I get only the Telephone keyboard, with no option to change that to a differ...
Dec 28, 2014 - 00:52
ollo
Hi, I'm creating a new file from within a python script (editor.set_file_contents() ...). At the end of the python script I pass the file...
Dec 26, 2014 - 23:43
Billb
Hi, I made some modifications to cards.py and when I use restore examples in settings nothing happens. How is restore supposed to work? Tha...
Dec 26, 2014 - 06:56
Des
e.g. Cascade.py refers to images "Green_Apple" and sounds like "Coin_3". and Where are these located? Where will I find a list of all availa...
Dec 25, 2014 - 21:02
codegardener
What is the best way to check whether my script is currently running on a mobile device or somewhere else (like my laptop)? sys.platform ...
Dec 25, 2014 - 16:03
the_buch
Anybody know if it would be possible to merge two workflow backups into one so I can restore to both devices and not have to go through and ...
Dec 25, 2014 - 03:30
techteej
In [this script][1], changing the file type in the file type dialog doesn't actually change it. Find the .pyui file [here][2]. [1]: h...
Dec 24, 2014 - 08:31
RainmanNoodles
I'm not sure if I'm just missing something, but I can't find a built-in choose from list function. There's an Editorial workflow action for ...
Dec 23, 2014 - 22:15
Screamik
It seems Pythonista can not open a file if there is a very long line of text inside. This [file][1] for example if saved to Pythonista and ...
Dec 22, 2014 - 23:28
techteej
files1 = sorted(os.listdir(os.getcwd()), key=str.lower) script = dialogs.list_dialog(title='', items=files1, multiple=False) if '....
Dec 22, 2014 - 23:15
Gerzer
Hi all! I recently released version 2.0 of my "Servr - mobile edition" iOS app built in Pythonista. I am very proud of it, but, of course...
Dec 22, 2014 - 22:50
ClareMacrae
I've been writing some flexible ways of accessing workflows, which are based on ideas in Ole's [Bookmarks Folder](http://www.editorial-workf...
Dec 22, 2014 - 19:58
0942v8653
[0942v8653/pythonista-homescreen-icon](https://github.com/0942v8653/pythonista-homescreen-icon) allows you to add a home screen icon for any...
Dec 20, 2014 - 18:11
Des
The current "Move" interface shows fully unrolled folder hierarchy in the pop-up. It is actually quite hard to find your way around this. ...
Dec 20, 2014 - 13:26
henryiii
I've discovered a very irritating hang-up bug. The following code demonstrates it: ```python import ui v = ui.View() im = ui.ImageVi...
Dec 20, 2014 - 12:27
Dann239
I bought myself a thermodo for entertainment and because they have an [sdk][1]. The feature request would be too add the ability to 'lis...
Dec 20, 2014 - 06:29
techteej
[Here][1] is a Very basic and messy Weather program inspired from a post I saw here a while back. [1]: https://github.com/tjferry14/My-P...
Dec 20, 2014 - 06:09
ikbenanders
Hi, I just attempted to build an ImageView and self-rotate for quite a lot of times. The code itself works well, but the problem is the d...
Dec 19, 2014 - 21:57
RainmanNoodles
When using console.input_alert(), the keyboard isn't properly activated. This can be seen in two ways. First, when using an external keyb...
Dec 19, 2014 - 21:50
RainmanNoodles
While developing some new scripts, I started dividing functionality into separate files. An example of this is a FeedWrangler class that I'm...
Dec 19, 2014 - 09:21
techteej
I would like to create a multiplayer online game using Python. Is this technically possible? If so, where would I begin?
Dec 18, 2014 - 21:17
ihf
I downloaded Web2py and, lo and behold, it runs without Tk by starting a web server and all editing can be done there. The problem is that a...
Dec 18, 2014 - 09:28
edgauthier
I'm not sure if this makes sense, but in Editorial, is there any way to get Taskpaper mode for markdown files? Specifically, I’d like to hav...
Dec 17, 2014 - 20:41
JonB
[Here][1] is the start of a git repo manager for pythonista. I was frustrated with some limitations of the shellista git, and in some cases...
Dec 16, 2014 - 21:25
smisuta
I imported the scipy source package into the site-packages folder...what do I do now? A call to "import scipy.stats" gives me an error messa...
Dec 16, 2014 - 16:53
gendalus
Hi there, I'm currently working on a project what should call an API about every minute (the exact timing is not that important). In orde...
Dec 15, 2014 - 07:56
Des
Apologies if this question turns out to not be Pythonista-specific, but I'm having a hard time understanding why my folders + imports break ...
Dec 15, 2014 - 02:35
Shambhala
What are you guys currently working on/developing? It doesn't have to be finished, or even working yet! I just want to know what you guys ar...
Dec 14, 2014 - 16:33
0942v8653
When I load a Typicon file, e.g. the house picture, all the partial transparency (antialiasing) is removed: ![bad house console][1] Th...
Dec 14, 2014 - 15:35
calebaharrison208
Hi: I've got an action extension through the [Workflow App](http://my.workflow.is) that calls and runs the following URL-shortening (via Bit...
Dec 14, 2014 - 01:26
misha_turnbull
Something I feel is missing from the Python language is the array data type. I know of the builtin array module but I haven't yet seen it u...
Dec 13, 2014 - 23:27
marquito
Greetings! I am starting to pick up Python and Pythonista alongside, so excuse me on my first post, which should be understood as a sugge...
Dec 13, 2014 - 14:05
techteej
I get a list index bug at line 10, not quite sure why. # coding: utf-8 import dialogs import reminders import ui v...
Dec 12, 2014 - 22:45
wradcliffe
I keep running into various text files that I would like to open in the editor but the IDE won't do it. The most common example is RST file...
Dec 11, 2014 - 19:38
excel_1111
I am new to Pythonista, but where are the Control and Command keys?
Dec 08, 2014 - 00:25
manuguerra
Hello, I am using a workflow in Editorial to generate and preview html code. In my code, I have a *textarea* (embedded in two *div*, i...
Dec 07, 2014 - 14:14
dvader9
I'm trying to start composition of an email in the Mail App with a chosen attachment (an image chosen from the user's photos). There is a ur...
Dec 07, 2014 - 10:15
squiffel
First time user of Python and Pythonista. Started yesterday. I think its really cool! Built a game on my phone. So I'm making it open ...
Dec 07, 2014 - 04:43
Omega0
With 1.6 in beta I wanted to bring up an unresolved issue from the past: `motion.get_magnetic_field()`. I wanted to start doing some tests w...
Dec 06, 2014 - 04:28
TutorialDoctor
In the code below, the action should replace all words that begin with "the" as a list. But it returns a blank list. <pre> \# Extracts w...
Dec 05, 2014 - 17:06
ywangd
It seems to me that the interpreter looks for the pyui file in the current working directory. This makes it impossible to invoke an UI progr...
Dec 03, 2014 - 21:53
Des
[EDIT:] Please ignore this post!! I figured out a clean way to do this without any API change, just defining one Scene subclass and using co...
Dec 03, 2014 - 13:40
GARP
I'm trying to get stock data from Yahoo. Wrote a couple of lines that seemed to work on the desktop. But does anybody knows if I'm doing it ...
Dec 03, 2014 - 05:44
TutorialDoctor
I am moving over to Pythonista for a while from Editorial, and I am wondering if anyone has done any UI and scene integration that allows yo...
Dec 03, 2014 - 05:18
TutorialDoctor
I am working with the UI module, and I came across an issue where view.center wasn't giving me the center of the view. Some created my own f...