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

Pythonista Custom Keyboard iOS 8

This is slightly off topic from the regular discussions, but is there any chance that Pythonista is going to make its keyboard available system-wide with the impending release of iOS 8? I would like to be able to use it in apps other than just Pythonista.

Started by LawAbidingCactus (in General)

Dragging an object across multiple scenes

Check out which creates four scene.Scenes embedded in one ui.View. Touch the four quadrants of the screen to create colored circles. I want to drag a circle across multiple scenes and have it change colors based on the underlying scene...

Started by ccc (in Questions)

Alphabet index for TableView

is the alphabet quick index exposed in pythonista. I'm loathe to make 26 cute little buttons, but will do so if necessary.

Started by polymerchm (in General) — 2 replies, latest 3 hours ago

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 16 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 18 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 18 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 20 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 1 day 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 1 day 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 1 day 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 3 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)