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!
Sep 03, 2016 - 19:39
Niall
When I was using the old Pythonista app on iOS 8, I started using the speech library to create live listening tasks for French classes. Afte...
Sep 03, 2016 - 18:47
happy_variable
It complains about that I didn't define the variable self.lasersOnScreen, what I actually did in the setup of the Main class.
How do I fix ...
Sep 03, 2016 - 16:29
aaljr
Does Pythonista 3 have any way to access the call history on the iPhone (to produce a report)? It doesn't look like any of the modules have ...
Sep 03, 2016 - 10:20
upwart
Maybe a stupid question, but I can't find how to stop a Scene based program. Of course, there's the cross at the upper righthand corner, but...
Sep 03, 2016 - 04:16
SpiesWithin
How do I use something called discord.py? https://github.com/Rapptz/discord.py I tried using stash but I couldn't get it to work.
Sep 03, 2016 - 02:42
wolf71
The objc code :
```
[playerNode scheduleBuffer:buffer atTime:[AVAudioTime timeWithSampleTime:sampleTime atRate:sampleRate] optio...
Sep 02, 2016 - 21:52
freshwuzhere
Trying to collect seconds from the standard time_dialog - is this possible? Also, is there anyway to initialise it?
Sorry for such a basic...
Sep 02, 2016 - 13:18
Phuket2
I was just searching the forum about transforms and came across this post from 11 months ago that @JonB offers some code. I thought it was ...
Sep 02, 2016 - 09:59
wolf71
How to call objc function (not class).
etc: CACurrentMediaTime()
Aug 31, 2016 - 12:28
lance1994
Is there a way I can make the Rect around my player a color for debugging purposes I'm fairly new , and I'm sure this is fairly simple but I...
Aug 31, 2016 - 10:19
Wingcoder
Folding individual parts of a document works well but when writing a full story with multiple chapters it would be a major improvement if I ...
Aug 31, 2016 - 04:45
ailee

This project uses the iPhone and a raspberry pi to remote con...
Aug 30, 2016 - 17:44
Phuket2
The below code should be so simple. But it's been sometime since I have done it. I feel I am am right in what I have done, but history tell...
Aug 30, 2016 - 14:46
filippocld
When iOS 10 was released i did this script to show a notification. The problem is the two action buttons are not shown. Does anyone know wha...
Aug 30, 2016 - 11:07
happy_variable
So, I tried doing it using file.read but it didn't do it for me, please help.
Thank you.
Aug 30, 2016 - 05:06
zencuke
TestFlight says Beta 2.1.1 will expire n 13 hours. Should. Be concerned?
Aug 29, 2016 - 19:57
Phuket2
I am confused about the person objects returned by the Contacts module. I came across this issue because I was trying to make a dataset cla...
Aug 28, 2016 - 21:42
upwart
I am running SimPy (not SymPy) om my iPad with Pythonista. That works very well. But now I would like to add animation to my model. Well, Sc...
Aug 28, 2016 - 19:36
Phuket2
Not for experts, for newbies like me!
The code below is very limited on styles. But as you can see very easy to add params to btn_image fun...
Aug 28, 2016 - 18:44
gsleeper
How do I abort a long running script? (The equivalent of ctl-C in Python on Linux)
Aug 27, 2016 - 19:49
Phuket2
I think I got the below code right. A lot of variations to test. But even if it's not 100% still illustrates one strategy to start writing ...
Aug 27, 2016 - 13:57
oleg
I use pygame module for my project. I use Raspberry Pi. Now i have holyday and want to continue write my code. I installed Pythonista to my...
Aug 26, 2016 - 18:19
TutorialDoctor
Follow the Pythonista Slack link provided [here](https://forum.omz-software.com/topic/3116/pythonista-slack-chat) and join the `#editorial` ...
Aug 26, 2016 - 11:59
lukaskollmer
Other Q&A sites like [StackOverflow](http://stackoverflow.com/) have [pretty clear rules ](http://stackoverflow.com/help/whats-reputation)ab...
Aug 25, 2016 - 09:36
Stefano
I am working on a side project that uses a modular workflow ( WF ) approach.
The main WF calls a sub WF, which contains a Python script, an...
Aug 25, 2016 - 04:13
shfonic
Hi, I'm having issues getting the DocTests to run as a seperate file using the built in DocTests feature (creating a file name.doctest file ...
Aug 25, 2016 - 00:49
chriswilson
I'm currently learning flask and hoping to make a web app that will pull user-selected data from a MySQL database.
Graphing the data would ...
Aug 23, 2016 - 17:25
Phuket2
I have not tried this before. From a ui.Image to a PIL image. I don't understand the differences about the formats. But I can see the PIL ...
Aug 22, 2016 - 02:40
reefboy
How do you send a text message with pythonista
Aug 21, 2016 - 20:30
happy_variable
So, how do I post apps to the App Store? And do I have to optimize the screen size for other devices or it'll be stretched automatically (I ...
Aug 21, 2016 - 18:55
lance1994
So here's the basic code for flipping it with gravity and abs :
def cmp (a, b):
return ((a> _b) - (a < b))
g = gravity()
if abs(g.x)...
Aug 21, 2016 - 15:36
Phuket2
This share is basically for people like me , when they hear circle they think of crop circles not pi. My point being, if you know the math, ...
Aug 21, 2016 - 15:35
shaun-h
I'm not sure why but I have made a basic example or an issue I'm having with deep copy and a NSData object in another project. I'm pretty su...
Aug 21, 2016 - 05:35
cwittern
I am having a problem with a workflow in Editorial that accesses the location services. It runs fine in pythonista, but fails in Editorial. ...
Aug 21, 2016 - 04:13
lance1994
So I got the basic , touch_began code I tried different variations but nothing seems to work, here is the code .
x,y = touch.location
...
Aug 20, 2016 - 00:21
ronjeffries
Just got Editorial. Looks great! Kind of backed into the built-in Documentation. What's the quick way to open Documentation in Editorial, pl...
Aug 19, 2016 - 17:48
kevinSuttle
Just saying. How about it?
Inspired by @Phuket2, I wanted to get a TableView working (there is probably some lines of his code that can be found in here). This is not ...
Aug 19, 2016 - 01:11
lvinci
Getting an error on one of the sample code I was interested to try:
```python
import csv
with open('some.csv', 'wb') as f:
writer = csv.wr...
Aug 18, 2016 - 20:07
uj_jonas
I installed @bear's python-twitter https://github.com/bear/python-twitter with stash like this **pip install python-twitter**
I should of c...
Aug 18, 2016 - 17:55
blmacbeth
I was playing around with the `location` module the other day and was wondering about how it deals with scripts closing without manually tur...
Aug 18, 2016 - 10:58
wolf71
stash v0.6.15 version.
ssh root@192.168.1.1
usage: pip.py [-h] [--verbose] sub-command ...
pip.py: error: unrecognized arguments: 0.4.10
st...
Aug 18, 2016 - 10:39
WayneJang
I have used Pythonista really well, and used it to solve interesting mathematical and statistical challenging questions.
But there is one p...
Aug 18, 2016 - 04:42
SimCityWok
The [fastkml](https://github.com/cleder/fastkml) library tries to import `pkg_resources` in the `__init__.py` file ([CODE](https://github.co...
Aug 17, 2016 - 14:56
Mr.Code
How can I use Pythonista as iBackupBot to edit system files like 'com.apple.springboard.plist'? I think this is possible because with Python...
Aug 17, 2016 - 14:18
mrcoxall
Using the Save to Gist is the easiest built in way to archive out your Pythonista files.
I am using it to save both my .py and .pyui files.
...
Aug 17, 2016 - 00:07
NoBetterName
Do I remove a module in Pythonista? So I can't import it anymore. I mean, in the app, not in the template.
Aug 16, 2016 - 14:01
Mr.Code
Is it possible to write a Pythonista script which signs iPA files like Cydia Impactor?
Aug 16, 2016 - 11:04
lachlantula
So I'm just starting to learn the Photos module in Pythonista and am currently working on a little program that lets you choose a photo from...
Aug 16, 2016 - 10:28
ismail radi
Avoca.. when modern medicine fails