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

2to3?

Can pythonista convert python 2 code to python 3 code?

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


Package installer scripts

I've made this thread so people can post their package installer scripts here :) I am currently working on the networkx installer. Going to post here after it is complete.

Started by ShadowSlayer (in General) — 1 reply 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) — 3 replies, latest 2 hours 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) — 26 replies, latest 2 hours ago


CaptureMedia (2.1)

Here is our base class (and sub class example) for capturing media (@techteej and @tony). Version 2.1 New: Settings plist and Settings class Update: do_warnings to only give warnings once ''' <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pl...

Started by tony (in Share Code)


Installing new modules with distutils fails

Hello everyone I'm working on another pip module for Pythonista. It's all done. Searching, downloanding, unziping. But the last step fails. I can't get to work setup() function. ImportError: No module named _osx_support Google tells nothing wise. Any i...

Started by Proxy (in Questions) — 4 replies, latest 5 hours ago


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 13 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 19 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 22 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 22 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 1 day 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 1 day 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 1 day 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 3 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 3 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 3 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 3 days ago