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

imageView won't appear

I'm working on an app using the ui library, and have run into a problem. Given input from the user, I will produce a plot with matplotlib, which I then plan to have appear in an imageView. The problem is that nothing happens when I press the button that's ...

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

Task List - a simple task list app

This is my version of 'Hello World'. It is a simple app to keep track of tasks. I added a GUI to it thanks to Pythonista.

Started by robinsiebler (in Share Code)

Error Code 422 when trying to export a folder to Gist

I am trying export a folder to Gist. When I do it, I get 422 error code. I don't have a problem exporting a single file.

Started by robinsiebler (in Questions)

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) — 3 replies, latest 8 hours ago


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) — 3 replies, latest 8 hours ago

A neat feature with unhandled exceptions

Here's a small feature you may not know about: When a script generates some kind of exception that is not handled, Pythonista displays the line at which it occured. This however also suppresses the stacktrace being printed to the console, which makes find...

Started by dgelessus (in General) — 1 reply 10 hours 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 14 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 20 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 22 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 1 day 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 2 days 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 2 days 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 4 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 4 days ago