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 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) — 219 replies, latest 2 hours ago

XCode Projects

I pasted my script into the XCode template I found here on these forums. Custom sprites and sounds can be accessed from the / folder, but I've run into a couple important issues. First of all, all images and text displayed in my app's...

Started by Shambhala (in General)

Floating pallette ?? To help with testing (Pythonista v1.5)

I wanted to ask if there is a way or example code to make a version of a floating pallette. In my case at the moment, I don't want it for production code although I could see it would be great. I want it for testing my code. I keep trying to cram ui.Butto...

Started by Phuket2 (in Questions) — 3 replies, latest 10 hours ago

How can I convert a PIL Image to a ui.Image?

How can I convert a PIL Image to a ui.Image?

Started by Sebastian (in Questions) — 21 replies, latest 12 hours ago

Gists Vrs Repos for sharing Pythonista code

I was reading about Gists, and the docs say that they are functionally equivalent to repos, in regards to cloning, forking etc... @ccc, I noticed you had a post before about Gists being unmanaged. Have they changed since you wrote that? Or are Gists infe...

Started by Phuket2 (in Questions) — 4 replies, latest 12 hours ago

A class just to draw a grid of buttons. Has some interesting options

Just a class that draws a grid. COLS & _ROWS determine the grid size. Also in the init function where the buttons are created have a var _USE_COPY. if True is consistently , 80, 90% faster on my iPad Air 2. import ui import copy import time _ROWS = ...

Started by Phuket2 (in Share Code) — 10 replies, latest 19 hours ago

Pythonista crashes when using PIL to save PNG

This happens consistently for me, anyone else?

Started by Webmaster4o (in General) — 9 replies, latest 20 hours ago

Suggestion: Guides in UI editor

I would like to suggest the addition of guides in the UI editor. They would work much like in Photoshop or Keynote, where you drag out guides, and then objects snap to them.

Started by Webmaster4o (in General) — 3 replies, latest 1 day ago

Open share dialog

Can I have a script generate a PIL Image, then open the standard iOS Share menu so the image can be opened in another app?

Started by Webmaster4o (in General) — 6 replies, latest 1 day ago

AssertionError: Cannot show camera from main UI thread

I'm getting this running my script. I think it has something to do with photos.capture_image triggered by a UI button. How do I get around this? Note: If I do ui.load_ui().present() and then do photos.capture_image() on the next line, it works, I only ge...

Started by Webmaster4o (in General) — 2 replies, latest 1 day ago

UI on desktop

Is it possible to get the Pythonista UI module on a desktop ide?

Started by Webmaster4o (in General) — 7 replies, latest 1 day ago

Just observation about layout method callback in custom classes

If you present your view as a sheet it appears on an orientation change on an I pad you don't get a call to layout, which is great as it has the same bounds. Regardless in my layout code I cache the frame(after rework) and check that in the beginning of ...

Started by Phuket2 (in General)

Struggling with touch and display of images

Hi, I am pretty new to Python and coding generally, and I have been trying to learn by writing something in Pythonista that might help my daughter with her reading. The idea is that a word appears at the top of the screen (e.g. 'cow') and your score incre...

Started by richwoodham (in Questions) — 16 replies, latest 1 day ago

Using custom sound effects.

Hallo, Can I use my "custom" effects? I created the full collection piano CAF (90 keys) to make a small piano app. I created a modified copy of PIANO App and I want to use it with my effects (filename PIANO01.caf .. PIANO90.caf). The CAF files and the PIA...

Started by laszlo.j.hermann (in Questions) — 7 replies, latest 2 days ago

Bundle Identifier

Trying to compile my pythonista app with Xcode using the free thing from Xcode 7 Beta, so I don't need a paid developer license. What do I put under the Bundle Identifier???

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

Code snippet Manager iOS app

I just wondered if anyone is using a good code snippet manager app on iOS. I have Dash, but unlike the mac version you don't appear to be able to save your own snippets. At least, I can not see a way of doing it. I still find Gists and repos black magic on...

Started by Phuket2 (in Questions)

Add label to scroll view in UI editor.

In this simple demonstration code, I am adding a label to a scroll view. The scroll view is placed using the UI editor and I am adding a label to it as a subview programmatically. The label does not show up. Any suggestions? w,h = ui.get_screen_size() cla...

Started by donnieh (in Questions) — 7 replies, latest 4 days ago

sys.settecursionlimit won't change from the default value of 256

I'm getting an Exception RECURSION ERROR which is due to the default value being 256; ie sys.getrecursionlimit() = 256 The only way to remedy this is by prepending sys.settecursionlimit(512) so the line of code reads sys.settecursionlimit(512); foo() Nor...

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

Adding MySQL connector libraries

Was wondering if it is possible to add the MySQL connection libraries to pythonista I have been trying to learn MySQL and being able to use Python would help.

Started by scj643 (in General) — 1 reply 5 days ago

Copying UI editor object programmatically

Is there a clean way to make a ui.Button for example in the UI editor and then make a object (or copy) of it programmatically? If so this would be cool because I could make the object quickly the first time in the editor, then use it many times through o...

Started by donnieh (in Questions) — 19 replies, latest 5 days ago