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 indent vs Tab

If I am editing a Pythonista file (.py) in Xcode, what key on my Mac is used to properly indent? When I use Tab on the Mac keyboard I get an error at run time. When I copy and paste the Pythonista indent it runs. I thought the indent was tab?

Started by donnieh (in General) — 6 replies, latest 5 hours ago

iCloud Sync support

A really nice feature for pythonista would allow syncing projects through iCloud so I could seamlessly work on projects across devices. Often I find myself sending the text of a project to myself. Perhaps there could be a special iCloud folder that syncs a...

Started by Stewartbracken (in General) — 1 reply 9 hours ago

Editor font size change?

I have a iPhone 6+ and the font even at its smallest is overly large for my screen, I could see and edit much smaller fonts easily considering how big my phone is. Unfortunately the setting wont allow me to lower the font size, yet I remember reading somew...

Started by Dormane (in General) — 2 replies, latest 9 hours ago

Any iOS device

Would some Pythonista scholar provide a simple example of any type of "view" coded such it will stretch nicely to any iOS screen? iPad, iPhone 4, 5, 6+...... Also, in landscape modes.... I just want to understand the concept.....

Started by donnieh (in General) — 6 replies, latest 11 hours ago

Label corner radius not doing anything

I change a button's corner radius just fine. Why won't a label's corner radius change? Do I have to do something special with the border or frame first? lbl = ui.Label() lbl.frame = (20,20,100,100) lbl.corner_radius = (5)

Started by donnieh (in General) — 5 replies, latest 1 day ago

Making hotkeys

How did programs like stash make their hot keys?

Started by reefboy1 (in General) — 4 replies, latest 1 day ago

Pythonista like HTML

Is it possible to bios I website with pythonista? Like HTML?

Started by reefboy1 (in General) — 15 replies, latest 1 day ago

Static site generator fully within the device: feasible?

I'm down to an iPad now that the students in my family have commandeered all the desktop machines. Problem is, I'd like to continue updating my static blog. It consists of several hundred Textile & Markdown files, plus images, and it is processed via ...

Started by dubh (in General)

nltk on the web

I have a code that I developed in nltk, but I don't know how to highlight text on nltk. It works well on the terminal, but it doesn't tell the user before it changes the words. I have also not found any article that talks about implementing nltk on the web...

Started by Besitypanacea (in General)

Tablet apps

Hi, Just signd up and want to download an app for pythonista on a tablet.Can any one help?

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

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) — 17 replies, latest 2 days ago

Function call on startup

How come the first function info() runs on startup? import ui def info(): vInfo = ui.View() = 'Info' vInfo.background_color = 'white' vInfo.present() def dBW_to_W...

Started by donnieh (in General) — 6 replies, latest 2 days ago

Javascript emmbeded in HTML python server

Ok, this is a fairly dumb question, and I am new to webpage development, but it is easy enough to use HTML with Bottle, such as in... from bottle import route, run @route('/hello') def hello(): return """<P>Hello World!</P>""" #Not an entire H...

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

gitui, stash and shellista issues

Trying to push next major upgrade to my chordcalc script and I get this from essantially all three of the subject line tools tempting to push to:, branch: refs/heads/devel-json Traceback (most recent call last):...

Started by polymerchm (in General) — 11 replies, latest 2 days ago

How to use a custom class for a whole UI

Hi, My goal is to make a subclass of Ui.View and use it as a class for a whole UI like in a pyui file made in UI builder. How does that work? I don't get buttons wired up to actions in the class; it only works for methods outside a class. Any help? I came...

Started by GenericUser (in General) — 6 replies, latest 3 days ago


Hello - I am still working on a chess game. It's coming along nicely, with one exception: the GUI. I've had some trouble with loading the images from files but got that to work, but now run into this problem: As you can see, the grid is not being drawn ...

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

ctypes really usable?

Grr forgotten to include code in this forum, so sorry I got from github a file for sounds ... starting with : from ctypes import cvoidp, ccharp and some more ... My pythonista contains wel eg. numpy (new sinds?) but not ctypes .. So either say, no not ...

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

UI Force the keyboard to go away

Hi, I'm making a little application to post photos to my photo blog. For the sake of learning I thought I'd make a little UI to go with it, but I've run into a problem. I have made a sheet that has an ImageView at the top, with a button underneath to cho...

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

Pythonista for Python 3.x.

Are there any plans to release a Python 3.x variant of Pythonista?

Started by D4t4Wr4ngl3r (in General) — 81 replies, latest 4 days ago

Extra header row added to tableview when I add subviews to the cells.

Heres a code sample. If you comment out the three lines creating and adding the label the view looks fine. I need to add subviews because I'm trying to create a grid-style table of labels and values. import ui class MyTableViewDataSource (object): de...

Started by simonh (in General) — 2 replies, latest 5 days ago