omz:software Forums

Pythonista

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

Why is large dictionary slowing editing to 1 key press every 30 secs on iPad 3?

Hi Using Pythonista on an iPad 3. Rather than read from a file I copied/pasted some data into a dict() so that the code would be standalone. It has approx 100 keys, each with 8 values. Now when I try to edit the details in the dict() it takes about 30 seco...

Started by drmtbishop (in Questions) — 3 replies, latest 1 hour ago


Flappy Bird on Pythonista

https://gist.github.com/BashedCrab/8949577 This started out as a Flappy Bird clone (can be done in under 100 lines of Pythonista), but I let my son do a bit of a redesign. He decided an underwater setting involving an Octopus was much more enjoyable. Th...

Started by bashedcrab (in Share Code) — 24 replies, latest 1 hour ago


Xcode + UI File Loading

I'm having a weird issue, Im using v = ui.load_view('../PythonistaProject.app/Script.pyui') to load my UI File in Xcode. It works fine inside of Xcode and on the simulator, but when I put the App on My iPad (using TestFlight) it says it couldn't load the U...

Started by techteej (in Questions) — 1 reply 3 hours ago


Center text in table

There's nothing in the docs on this, is it possible to center text in a TableView?

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


Pythonista with Bluetooth keyboard

Can I disable the ext-keyboard when using Bluetooth keyboard ? so let me can using more screen. Can add some short-cut key? etc: cmd+f for find, cmd+j for jump. ......

Started by wolf71 (in General) — 7 replies, latest 9 hours ago


Animate UI switching to scene

Is there any way to display an animation of some sort or some way to eliminate the delay from UI Switching to scene?

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


gitrepo - small utility to easily download repos and releases from GitHub

My first program using ui module :) It allows you to easily download repos and releases from GitHub, and also supports automatic unzipping. GitHub repo: https://github.com/Vik2015/gitrepo Screenshot:

Started by ShadowSlayer (in Share Code) — 12 replies, latest 15 hours ago


Pixel Editor

Here's a simple pixel editor I made. It only works on iPad, I don't see the point in making an iPhone version (because of the small screen). It's not really done yet, the code is a mess and there is still a lot of bugs, but I thought I'd share it anyways X...

Started by Sebastian (in Share Code) — 7 replies, latest 15 hours ago


CaptureMedia (2.0)

Here is our work for capturing media (@techteej and @tony) from 2 other threads and @techteej's Speech project, tidied up, wrapped in a class, closing the server and presented in a popover sized to fit the iOS pop up. The code uses a chunk from @omz's F...

Started by tony (in Share Code) — 17 replies, latest 16 hours ago


Set an action when user selects row

How do I set an action when user selects row in a Table View?

Started by techteej (in Questions) — 1 reply 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)


Another FileManager

FileManager Use at your own risk. No error handling! Feel free to improve the code.

Started by brumm (in Share Code)


Carriage returns in .py files makes Pythonista crash

I have noticed a (minor) bug. When there are Carriage Returns in the script, Pythonista frequently crashes when deleting a line. I noticed this behaviour after I had edited a script on my PC. Apparantly the editor has added a CR carriage for every line. U...

Started by upwart (in General) — 1 reply 2 days ago


Cacti Killer

Fun side project game to be released (eventually, currently in review) on the App Store. Code is pretty messy at this point, just want to get it working, then I'll focus on cleaning up code.

Started by techteej (in Questions) — 14 replies, latest 2 days 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) — 3 replies, latest 2 days ago


Basic text editor

My second creation using ui module :) It can be used to edit text files which Pythonista doesn't support. Of course, it is not a very good text editor. It doesn't support LANDSCAPE orientation nor any other screen sizes (I don't know how to convert output...

Started by ShadowSlayer (in General) — 1 reply 2 days ago


Can someone show me a small example of a file navigator?

I've looked at https://github.com/dgelessus/pythonista-scripts/blob/master/filenav.py, but there is too much code and I can't seem to understand it. Can someone explain to me how to make a simple File Navigator? (I don't really understand how to implement ...

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


ui module TableView resizing problem.

My tableview is not getting automatically resized. What am I doing wrong? import ui view = ui.View(name="Choose release") table = ui.TableView(flex="WH") lst = ui.ListDataSource(["v1.0.1", "v1.0"]) table.data_source = lst view.add_subview(table) view.pre...

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


Basic Email Program

Back before my grandpop passed, I was working on a basic email program for him. Today I updated it to use the UI module, and added a login to it. Thought I should share. Thanks guys.

Started by techteej (in Share Code)


Disable scrolling in ui.TextView

Is there any way to disable scrolling in ui.TextView?

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