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!
Apr 30, 2013 - 03:53
Technocrat66
https://gist.github.com/5486147 Many otherwise useful text apps lack search, replace, TectExpander or all three. This script alleviates som...
Apr 29, 2013 - 21:15
Technocrat66
https://gist.github.com/technocrat/c895a8c84c5bf82be2f1 One of the annoyances of collecting web clippings from several different sources is...
Apr 24, 2013 - 23:18
ylb609897
I'm a bit of a noob with programming however on python IDE this code works fine <pre>while True: Name = str ( input('enter name') ...
Apr 24, 2013 - 10:36
jose3f23
It seems that export scripts in a subdirectory only works for the current script in the editor. So it is not possible to export a subdirecto...
Apr 22, 2013 - 17:09
ccc
https://gist.github.com/cclauss/5435710 Simple Pythonista utility script that you need to put in the Pythonista Actions menu. It goes ...
Apr 18, 2013 - 09:35
Sebastian
Hey guys! I made this <a href="https://gist.github.com/5382778">calculator</a>, which I think works pretty good. It's a simple graphical cal...
Apr 14, 2013 - 00:37
ccc
I wanted to create some games (checkers, chess, etc.) so the first step is DraggableImages... Please let me know if you spot issues. h...
Apr 13, 2013 - 11:18
Sebastian
Ok, so I'm trying to create a scene based calculator and everything works fine, except the division part. If you type 3/2 you get 1 as the a...
Apr 12, 2013 - 19:51
stinhoutx34
I browsed a bit and did not see an obvious answer to my search... Has anyone worked on any dashboard scripts using Pythonista? Panic's Stat...
Apr 12, 2013 - 02:24
Cubbarooney104
(Yikes, I ask a lot of questions!) Let's pretend I was writing a code that used the scene module. This code had a list of pictures that were...
Apr 11, 2013 - 20:15
rustywild245
How to make that in a loop?: <pre> def touch_began(self, touch): if touch.location in self.layer1.frame: sound.play_effect('Click_1') ...
Apr 10, 2013 - 03:23
Cubbarooney104
Hit boxes. The bane of my existence (at the moment at least). I'm referring to hit boxes as in a button. If you press the button, something...
Apr 08, 2013 - 01:44
gregthegeek
Hello, Congrats on this very cool app guys! Pythonista is really nice to work with, though Ive not done much yet. I had a couple questions...
Apr 07, 2013 - 13:01
halloleo235
Under Pythonista I can create files via open("file",'w') and read them out with another script later. Where do these files live and how lon...
Apr 07, 2013 - 13:00
halloleo235
With Pyhonista I want to write a small documentation viewer for html files I have created in Pythonista. Let's say I have created a file "...
Apr 05, 2013 - 18:26
Wumfa150
Can anyone confirm if I have found a bug, please? Enter this simple text: print "third and is" Now place cursor immediately before the word ...
Apr 05, 2013 - 17:31
Cubbarooney104
Well, I've made some progress on learning the scene module, but now I've come across a rock. Here is some code from the tutorial: <pre> 1 f...
Apr 05, 2013 - 16:19
stjbrown67
Hi all, I am looking for a bit of help getting Suds to work on Pythonista. I have written a quick script to install the actual library.(Well...
Apr 05, 2013 - 13:45
rustywild245
i'm new in python. i would like to make that: http://omz-software.com/pythonista/forums/discussion/188/simple-alarm-device-home-automation-...
Apr 05, 2013 - 08:35
Sebastian
How do you know if two line segments intersect eachother? If we use this as an example: <PRE> from scene import * def lines_intersect(line...
Apr 04, 2013 - 04:19
eliskan175
Tutorial I based this project on: http://www.youtube.com/watch?v=KNXfSOx4eEE Actual program: https://gist.github.com/52234fc597c5b2aeccef (...
Apr 04, 2013 - 02:18
Wumfa150
I'm new to python and the iOS app but I have an application requirement. I want I extract a single character from a string and have been led...
Apr 04, 2013 - 00:47
jimwims
I have a script which uses photos.get_image multiple times with the index numbers hard coded into the script. A problem is that when lower ...
Apr 02, 2013 - 15:17
Cubbarooney104
Well, I had my doubts about randint() so I decided to test it out. I whipped up a little code in order to do so. <pre> from random import r...
Apr 01, 2013 - 19:37
sea56
I'm playing with things involving dates, almost at the point where it'd be nice to use a standard iOS date widget to select dates. To my sur...
Apr 01, 2013 - 11:16
Sebastian
I don't know what to call this game really. It's just a little something I made out off boredom. I have one known bug though, but I don't kn...
Mar 30, 2013 - 23:55
Uberi219
A mini shooting game! Made during really slow days in class. Download: https://gist.github.com/4040487 Left control is a movement joypad, ...
Mar 30, 2013 - 22:28
Cubbarooney104
I was just thinking about how I'm in the middle of learning the scene module and how it is (for me) a slow process. What I need is a good tu...
Mar 29, 2013 - 17:38
oefe186
Hi, I noticed that the UserList and UserString modules are missing in Pythonista 1.3. UserDict, however, is present: >>> import UserDict ...
Mar 29, 2013 - 12:57
Dalorbi39
http://www.pythonchallenge.com/ i think this challenge can help us all become better pythonistas, i also think it'd be fun to see how far we...
Mar 29, 2013 - 12:16
eliskan175
Edit: I solved this problem, check the devshed forum (linked below) for solution. I am trying to write a crude game engine inspired by spr...
Mar 29, 2013 - 10:48
eliskan175
https://gist.github.com/9a2cb564eaac2df3a71d This code is pretty simple. Everything after the play_beat function is simply an example to s...
Mar 28, 2013 - 09:40
eliskan175
This project is far from complete but it's progressing very well so I thought I would share my results. https://gist.github.com/b2739c37b13...
Mar 27, 2013 - 15:42
nicob239
Hello, I've set up a git repository on my personal server. I'm looking for an IDE that could commit and retrieve code from it. I know tha...
Mar 26, 2013 - 23:52
mcsquaredjr148
I wrote a simple script that allows to integrate Evernote with Google Cal, the details are here: http://goo.gl/kEEcc -Serge
Mar 23, 2013 - 12:21
eliskan175
http://gist.github.com/cbc554a5aab2350b847d Experimenting with hitTest function. It's a bit rough, I am still learning, but I thought it c...
Mar 23, 2013 - 12:18
Dalorbi39
Okay i started devoting time to start learning how to use the pythonista modules and was wondering how would you go about loading up an imag...
Mar 23, 2013 - 10:23
eliskan175
Is it possible to have Pythonista respond to bluetooth keyboard events? I recently got a keyboard for my iPad and I would like to be able t...
Mar 18, 2013 - 06:23
Dalorbi39
@omz im pretty sure there was a page on your website about the featuresthat are coming up in 1.4 can i please have the link again?
Mar 17, 2013 - 23:37
Jorgeleo149
Are there code samples on how to create forms and lists? Text input, sliders, switches, lists, etc?
Mar 17, 2013 - 21:13
David19801111
Do Pythonista files work on Android? I want to make a game for Android using python...is there any way?
Mar 17, 2013 - 17:39
uncleWalter120
Running this from the editor action menu will launch the script currently being edited as a request handler inside an http server: https://...
Mar 16, 2013 - 17:05
robinsiebler112
I downloaded the gist script that creates 4 other scripts for the action menu. I put them all in a folder and then I could not use them for ...
Mar 15, 2013 - 06:20
turtle71
Well it seems to be my fate to be frequently asking for things that don't exist in Pythonista yet. :( Any thoughts on alternatives to these...
Mar 14, 2013 - 00:43
n8henrie142
I wrote a snippet that uses editor.get_path() as one of the "action" scripts. On the iPad, it works great, but the same code on the iPhone (...
Mar 13, 2013 - 00:21
mcsquaredjr148
I wrote a simple script to quickly open recent files in the editor: https://gist.github.com/5148002 Save in the root directory and add to ...
Mar 12, 2013 - 03:18
bitbucket158
I see that you can export a python script from pythonista and Email it to yourself (or export an xcode project, etc). But how do you go the...
Mar 11, 2013 - 07:08
sea56
pythonista is awesome. helped me scratch an itch i've had for a while, being able to filter the photo library by date range. here's my first...
Mar 08, 2013 - 17:46
uncleWalter120
When I add my own scripts to the actions menu, whatever script comes first in the menu won't get executed but always leads to editing the cu...
Mar 08, 2013 - 05:04
jose3f23
I have saved a file named file.txt but it appears actually to be file.txt.py. How can I avoid the .py extension ? Thanks.