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

ValueErrorr: Animation is in progress

In the below code, I have a form open. Clicking on the 'search' button loads another form in the 'prompt_search' function. Interacting with that form triggers the 'search_tasks' function. If the results of the search are negative, I want to close the searc...

Started by robinsiebler (in Questions)


I want to use the detail_text_label on a TableViewCell but the documentation says that it's only accessible in non-default styles of the TableViewCell class, so my question is: How do I change the style of the cell?

Started by Omega0 (in Questions) — 1 reply 1 hour ago

Custom width for view not honored

I created a View in the UI Editor and I set the width to 650. However, when I run the app, the view is not that wide and the text in my textview is clipped. I tried manually setting the width, but it is still not working. I'm doing this on an iPad.

Started by robinsiebler (in General) — 7 replies, latest 2 hours ago

Adding text to a TextView

I have a TextView in my UI called "task_textview" How do I set the text for it in my main script? I tried task_textview.text = "Foo", but I get "global name 'task_textview' is not defined". I didn't 'define' my buttons anywhere but in the UI editor and th...

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

Number factorizer

Hey guys, just thought Id share this with you. It's a number factorizer that is designed to handle LARGE numbers (in the hundreds of thousands) and, well, factorize them. It's output is user-friendly, no duplicate factors, and they're in neat little pairs....

Started by misha_turnbull (in Share Code) — 2 replies, latest 10 hours 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) — 4 replies, latest 15 hours ago

Mixing ui and scene

When you want to use both the ui and scene modules together, SceneViewer can act as a plug-compatible replacement for Of course, scene.gravity() no longer works but more on that in a follow up post. In your code, replace:

Started by ccc (in Share Code)

LastPass Pythonista

Here's an alternate for LastPass on iOS - I use it numerous times daily. Makes copy/pasting passwords a whole lot simpler and faster. Please critique it and pull it. I would like to add this to Pythonista Tools when ready. Thanks!

Started by hyshai (in General)

Returning to calling app after URL scheme call

Hi there I have a script doing some text conversion in the clipboard. I call the script via the pythonista:// URL scheme. After running the script from say iCabMobile or Drafts, ptyhonista stays open, but I would like automatically to return to the cal...

Started by halloleo (in Questions) — 4 replies, latest 1 day ago


Here is a little 2048 clone. It is focused more on being a simple example than being graphically advanced. Swipes would be nice, as would sliding tiles, but the later would complicate the class code, and the former I'm not sure how to do cleanly, except ma...

Started by henryiii (in General) — 21 replies, latest 1 day ago

Shellista- Git Clone error

I have no trouble downloading Gists but I have tried using shellista to download a git with git clone url and the first time I try it says "Error:" and the 2nd time it says "Errno 17: /.git already exists. What am I doing wrong?

Started by ihf (in Questions) — 6 replies, latest 2 days ago

Any way to get pythonista to call finally when exiting?

In my ipad 2, I find that almost whenever I task switch away from pythonista, when I come back I find that pythonista has restarted, presumably because ios killed it for memory. It would be nice if I could write scripts or objects that can gracefully hand...

Started by JonB (in Questions)

Animated Button

I expect it's been done better before... but as ccc helped me over the ui.delay() hurdle... I thought I'd show willing to give a little back and share my animated button code. It's designed to be a 'Reload' button to work with a ui.WebView... it will trigg...

Started by tony (in Share Code)

Access NIC/wifi card in iphone/ipad

Is it possible to access the NIC in iOS so one could scan nearby access points and report their info (such as channel, freq, etc). It sure would be handy to have such a wifi scanner in your phone. There used to be an app called wifi analyzer but that was...

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

About file switcher?

I want to easily change an opening file and the file which opened first now. Can I have any hint? Thanks.

Started by beer2011 (in Questions) — 1 reply 3 days ago

filenav - a simple file navigator

(no, I couldn't think of a more original name.) What is there to say? It's a file navigator with UI and a few neat features: Access to the entire app folder, not just the Script Libr...

Started by dgelessus (in Share Code) — 8 replies, latest 3 days ago

How to use ui.delay()

I can't find any example of how to use ui.delay(). I've tried what seems the obvious simple case below, but the function always runs immediately... without any delay. Can you provide an example please. Thank you, Tony. import ui import console def funcS...

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

pythonista for windows?

Pythonista is awesome. It blows away any other ide for ANY language I've used... But when I'm only carrying around a laptop I'm stuck with notepad++ and hate going to the command prompt to test scripts, is there anything like Pythonista for windows?... Or ...

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

Get a list of all keys in Pythonista's keychain?

Is there any way to get an overview of all services and accounts for which there are keys stored via Pythonisat?

Started by jugisto (in Questions) — 15 replies, latest 5 days ago

Bokeh Plotting

Does anyone know if the bokeh plotting library can be imported through pipista for web development? There's a JS library involved for front end purposes, but that should all be handled by the browser. I can't find anything about the architecture of the pyt...

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