omz:software Forums


If you want to participate in the discussion, you have to sign up or log in.

Categories: General, Share Code, Questions RSS (All Posts)

All Discussions

Simlply save a variable

How would you save a variable such that it is remembered after the app is closed or deleted from the multitasking menu? #how do you "save" a? a = 10

Started by donnieh (in General) — 3 replies, latest 7 hours ago


I hope someone can shed some light on this issue for me. So if I have a valid reference to an ui element such as (ui.Button). So btn = ui.button(title='button1'). If I do btn.sendtoback() , it works as expected. But it seems when I have added btn as a subv...

Started by Phuket2 (in Questions)

Pythonista 1.6 Beta

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'd like to play with the next version of Pythonista before it hits the App Store, please send me an email with your App...

Started by omz (in General) — 195 replies, latest 16 hours ago

Rendering text (for classic 'Star Trek' game) using scene?

I've found a Python version of the classic text-based 'Star Trek' game. It writes loads of text to the console for star-field displays etc. I'd like to rewrite it with a static text display that updates in place, and though that the 'scene' module would b...

Started by SteveIves (in Questions) — 3 replies, latest 1 day ago

New Tool for manipulating pyui 's

I had been wanting a way to "re-factor" pyui files. Specifically, to group sets of views (say groups of buttons, or all views in the left side of the root view) after the fact. Here is the initial version of pyuiEdit. Should be pretty self explanatory. ...

Started by polymerchm (in Share Code) — 4 replies, latest 1 day ago


@OMZ is there any future plans to add a MapView to the ui module? I am working on a little app that uses location to map out places I have walked/run/whatever-ed. I can currently get around that with Google Maps API and a WebView, but I think having access...

Started by blmacbeth (in General)

How do I pass arguments from Pythonista to Workflow?

Hey guys, I can't figure out how to do this. Basically I have several sets of coordinates in Pythonista (a list for all the latitudes and a list for all the longitudes, as well as a list containing the feature names). I want to be able to choose from a lis...

Started by Oak (in General) — 6 replies, latest 2 days ago

touch_id how to use this

Hello I have a program where I am trying to control two objects on either side of the screen. Pythonista's help file suggests using the touchid attribute. However I do not (nor can I find) any way to determine what each touchid is nor assign it a parti...

Started by st3v3_42 (in General) — 3 replies, latest 3 days ago

Cyclic animations

I'd like to build an interface like that in pythonista's UI builder to allow modification of the "flex" attribute. It will be a custom view, like my chordcalc interfaces for the "arrows". More, specifically, I want the same sort of visual queue as @OMZ h...

Started by polymerchm (in Questions) — 3 replies, latest 3 days ago

Getting a List of all ui GUI classes programmatically

I wanted to see if I could get a list/dict of all ui GUI objects programmatically. I can see I can get a list of all classes if I do something like mylist =dir(ui). In this case it's not any better than hard coding a list of objects myself, as I only wa...

Started by Phuket2 (in Questions) — 2 replies, latest 3 days ago

Computable no longer a competitor

It would seem that on March 15 the iOS/iPad app Computable was withdrawn from the App Store due to stability issues. Also, it seems that my pre-March 15 install is running Python code now whereas previously this ability was only available if you purchased ...

Started by ltddev (in General) — 1 reply 3 days ago

Opening file for append ISSUE

Hi all, I have an issue that I absolutely cannot get around. When I run my script in the app, it works perfectly fine. Everything is normal. When I call my app through Safari it still runs normally, with the exception that it refuses to append to another f...

Started by Oak (in General) — 5 replies, latest 4 days ago

GamePie - game engine designed to ease creation of cross-platform games.

I finally made something that works! :) GamePie allows you to create games which can be ran on many platforms. The project was created to allow creation of cross-platform games - those that can run on both iOS devices and PCs. It's licensed under zlib lic...

Started by ShadowSlayer (in General) — 4 replies, latest 4 days ago

How to prevent screen lock

Folks, I have a script that I wrote to keep track of a pool game my buddies and I play. It uses the ui module to build a simple GUI with a list of players and keeps track of the score by touches on the names of the players. Sometimes a player's turn in th...

Started by tachijuan (in General) — 3 replies, latest 4 days ago

Recurring dumb question on git in stash and gitview

Seems since the latest 1.6 update, again I seem to have dulwich versions that want to fork a new process. Please remind how to get rid of these? Shellista seems not to have this issue.

Started by polymerchm (in General) — 4 replies, latest 5 days ago

Theming class for ui. only a start and idea.

Just to be clear up front, I am new to python and pythonista. The code below could be utter garbage. Just state, in case you are new also. I wrote this code on my learning journey. Also putting together what I have been learning here in the forum. I am su...

Started by Phuket2 (in Share Code) — 2 replies, latest 6 days ago

Tabbed ui

@jsbain, thanks for tabbed ui class. Will use it. I think it's very useful. I will modify it to my own needs, I hope this is ok!

Started by Phuket2 (in General)

IOS 8.3 now breaks iFunbox and probably other similar programs

I mindlessly took the update to IOS 8.3 this time instead of waiting to hear about any issues with Pythonista. Went to do backups and file transfers and discovered that iFunbox can no longer access the Pythonista Documents folder. Wondering now if there is...

Started by wradcliffe (in General) — 23 replies, latest 7 days ago

Using a menu button as a clock, by constantly updating the button title

I just wanted to add the time to a button on the menu bar(constantly updating using the title). The code below works, but the refreshing is very bad. I am guessing I am mis-using the menu buttons intended function here. Look, it's not important. I just t...

Started by Phuket2 (in Questions) — 5 replies, latest 7 days ago

ui elements and private storage

Apologies if this has been discussed or been addressed. Many years ago, I programmed in SuperCard, basically HyperCard on steroids. But one stand out thing for me back then was each GUI item had a tag property for private storage. I think it would be grea...

Started by Phuket2 (in General) — 11 replies, latest 15 May