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

How to use a custom class for a whole UI

Hi, My goal is to make a subclass of Ui.View and use it as a class for a whole UI like in a pyui file made in UI builder. How does that work? I don't get buttons wired up to actions in the class; it only works for methods outside a class. Any help? I came...

Started by GenericUser (in General) — 6 replies, latest 50 minutes ago


Hello - I am still working on a chess game. It's coming along nicely, with one exception: the GUI. I've had some trouble with loading the images from files but got that to work, but now run into this problem: As you can see, the grid is not being drawn ...

Started by misha_turnbull (in Questions) — 2 replies, latest 2 hours ago

Function call on startup

How come the first function info() runs on startup? import ui def info(): vInfo = ui.View() = 'Info' vInfo.background_color = 'white' vInfo.present() def dBW_to_W...

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

Installing new modules with distutils fails

Hello everyone I'm working on another pip module for Pythonista. It's all done. Searching, downloanding, unziping. But the last step fails. I can't get to work setup() function. ImportError: No module named _osx_support Google tells nothing wise. Any i...

Started by Proxy (in Questions) — 13 replies, latest 14 hours ago

ctypes really usable?

Grr forgotten to include code in this forum, so sorry I got from github a file for sounds ... starting with : from ctypes import cvoidp, ccharp and some more ... My pythonista contains wel eg. numpy (new sinds?) but not ctypes .. So either say, no not ...

Started by PKHG (in General) — 2 replies, latest 14 hours ago

UI Force the keyboard to go away

Hi, I'm making a little application to post photos to my photo blog. For the sake of learning I thought I'd make a little UI to go with it, but I've run into a problem. I have made a sheet that has an ImageView at the top, with a button underneath to cho...

Started by MalphasWats (in General) — 3 replies, latest 14 hours ago

Pythonista for Python 3.x.

Are there any plans to release a Python 3.x variant of Pythonista?

Started by D4t4Wr4ngl3r (in General) — 81 replies, latest 23 hours ago

Extra header row added to tableview when I add subviews to the cells.

Heres a code sample. If you comment out the three lines creating and adding the label the view looks fine. I need to add subviews because I'm trying to create a grid-style table of labels and values. import ui class MyTableViewDataSource (object): de...

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


I ported youtube-dl to Pythonista - see the repo here. Please post all issues/bugs/ideas etc. there. (I plan on updating it weekly from master.)

Started by hyshai (in Share Code) — 18 replies, latest 2 days ago

Another newbie question: How to get a view created on the iPad to resize or scroll around on iPhone

I just got an iPhone, and have a bunch of scripts with UIs that I developed on the iPad. When I brought them over to the iPhone, they don't resize or scroll, so many of the entry fields and buttons are not accessible. Is there a way to fix this without r...

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

How to export a .pyui file to dropbox?

I'm sorry for what's probably a stupid question, but I've been struggling with this for a while, and can't find the answer... I'm using dropbox to copy files from my pythonista scripts directory on my iPad to my iPhone. When I open a .py file in the edit...

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

gitui, stash and shellista issues

Trying to push next major upgrade to my chordcalc script and I get this from essantially all three of the subject line tools tempting to push to:, branch: refs/heads/devel-json Traceback (most recent call last):...

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


I am working on a chess game. I have all the images I need stored in a folder: Chess/gui_pythonista/imgs/ and a file Chess/gui_pythonista/ In the file, I want to load the images from the images folder to something that can be used by scene.ima...

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

Feature Request: Custom hot keys

Would it be possible to allow users to assign their own hot keys for external keyboards? If so, there could be so many possibilities. There could be a set of standard actions a user could pick from, but it would also be awesome to run a user made script wi...

Started by smath (in General) — 1 reply 4 days ago

Beta Build 160008

I thought I'd start a new thread for this build, the old one is getting a bit unwieldy... As promised in the release notes, here are a few examples of what you can do with the ctypes module... Be warned: This is pretty advanced stuff – it's very easy to s...

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

Setting button size using frame as parameter has no effect

I have a scrollview to which I add textfields and a button dynamically. For the button I use the following code: insert_button = ui.Button(frame = (x, y, 120, 40), name = 'insertrecord', title = 'Add record') Running the code, the button has the wrong si...

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

General bug report thread

Changing the name of any folder will always move it into the root Script Library folder, even if it was previously located elsewhere. Fortunately this does not cause data loss, all files will still be in the folder after this happens, so you can move the f...

Started by dgelessus (in General) — 48 replies, latest 5 days ago

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) — 187 replies, latest 5 days ago


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

Learn Math App

As some of you may have seen, I have been trying to dynamically load classes from a subfolder (or any folder...). It has been for a maths learning app I have started developing for my wife (she is studying for the GRE). I am using some simple, single view ...

Started by blmacbeth (in Share Code)