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

Now… Change the image in a UI...

Using the same method recommended to change text in a label (previous post), I am now trying to change an image based on a photo taken by the camera. The program tries, but returns a blank image to the UI. The image is definitely being taken, because I c...

Started by nasadave (in Questions) — 6 replies, latest 53 minutes ago

Bug: renaming folders moves them to root level

Title says it all. 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...

Started by dgelessus (in General) — 1 reply 2 hours ago

Change the text of a label in the UI?

Fairly new to python here, so be gentle… I am trying to change the text of a label on a UI based on user input into a console alert input variable. I can get a button title to change, but not a label text. What am I missing here? This is basically what...

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

console.quicklook freezing app

I'm building an app that uses the ui module to perform some calculations, display the results, and optionally export a PDF produced with reportlab. Everything works perfectly up to the point of displaying the newly created PDF. My export buttons action loo...

Started by smath (in Questions)

Names of selected rows instead of numbers

Is there any way to get names of selected rows in a table view instead of just 0, 1, 2, etc.?

Started by techteej (in Questions) — 5 replies, latest 5 hours ago

import zbar -- QRcodes in Pythonista

Hi ! Do you think it is possible to import the zbar library in a further release or Pythonista ? Zbar already exists on iOS and there are some wrappers in Python. We could script a QRCode decoder for example with camera input...

Started by potsky (in General) — 8 replies, latest 10 hours ago

Sounds - library of existing or importing new

I have looked through documentation and websites but cannot find a comprehensive list of sounds available through the sound module or how to import custom sounds. I found the list of sounds available in omz Editorial, and it seems these are available in P...

Started by cjchallis (in General) — 3 replies, latest 11 hours ago


@techteej Here [were] simplified start function and new request handler to use with CaptureMedia:

Started by tony (in General) — 7 replies, latest 23 hours ago

example of a custom tableviewcell

Hey Folks, I'm trying to write a simple score keeper for a pool (billiards) game that my friends and I play. I have the basic mechanics down with the default tableviewcells, but I'd like to make the result a bit prettier by using a custom tableviewcell. I...

Started by tachijuan (in General) — 13 replies, latest 1 day ago

Disable two finger swipe down

Is there any way to disable the two finger swipe down but leave touch events in a UI View?

Started by techteej (in Questions) — 1 reply 2 days ago

Wrong .pyui file is getting loaded in XCode

I'm getting this error when building in Xcode. Don't know if it has anything to do with that I have to use the code below (for iOS 8 issues). import scene import os def find_bundled_files(file_extension='.pyui', exclude_dirs=('pylib', 'pylib_ext', 'Do...

Started by techteej (in Questions) — 11 replies, latest 2 days ago

Switching to SceneView zooms in Scene?

I used the code below to change a scene into a Scene View (launched by a button in a UI Menu), and it seems that the game scene is zoomed in. It also cuts off the scene and does not fill the entire screen. w, h = ui.get_screen_size() root_view = ui.View(...

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

Ads in a Scene?

Is there a way (or a hack) to support advertisements in a scene class? I want to show a banner ad at the top or bottom of the screen, how would I go about doing this?

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


Here is my MultiBrowser class project. It has 3 panes, any bumpable to full screen, 1 with video, refresh on demand or every 4 min. The base MultiBrowser class: is designed for iPad and landscape only has the first web view dedicated to video, and so no...

Started by tony (in Share Code) — 1 reply 3 days ago

Inserting text in a text field from a .txt file

Currently having trouble putting text in a ui.texfield from a .txt file. Any help? def get_username(): global player_name p_name = root_view['namefield'].text file_name = 'name.txt' if p_name == '': player_name = 'Player 1' el...

Started by techteej (in Questions) — 23 replies, latest 4 days ago

[Bug report] Deleting script

I was recently using pythonista, and I happened to be editing at the moment, but I got a SMS. I went into messages, replied, and once I came back my file was empty. Just empty. I had another copy on my computer, so it is fine, but this has to go.

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

OO style matplotlib?

First, WOW! I love Pythonista already! Thank you to creators and contributors! I am using matplotlib and prefer to use the OO style of coding as described here. In other Python environments, I have no difficulty doing this, but in Pythonista the script ...

Started by bennettbrowniowa (in Questions) — 1 reply 4 days ago

Pretty please CoreMidi for 1.6

Developing musical applications in pythonista. Want to play more notes that just the 2 piano octaves without having to have a "note" waveform library.

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


'Classes' a family of classes (tap the class names), to: (1) support project development and delivery: a CommentView etc. ui wrapper class for the standard comment/replace/indent/rename code, with action preview a ReplaceView ui wrapper as above a Web...

Started by tony (in Share Code) — 2 replies, latest 5 days ago

Huge standalone

I downloaded the PythonistaProjectTemplate to compile my scripts into fully working standalone apps. But the resulting app is huge!! Almost 90Mb. I opened the package and I noticed that there is a lot included that is NEVER used in my app. For example, the...

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