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

Making hotkeys

How did programs like stash make their hot keys?

Started by reefboy1 (in General) — 1 reply 1 hour 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) — 1 reply 2 hours ago


Pythonista like HTML

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

Started by reefboy1 (in General) — 14 replies, latest 8 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) — 2 replies, latest 9 hours ago


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 12 hours 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 1 day ago


Function call on startup

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

Started by donnieh (in General) — 6 replies, latest 1 day 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 1 day 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: https://github.com/polymerchm/chordcalc.git, branch: refs/heads/devel-json Traceback (most recent call last):...

Started by polymerchm (in General) — 11 replies, latest 1 day 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 2 days ago


scene.rect

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 2 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 2 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 2 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 2 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 4 days ago


youtube-dl

I ported youtube-dl to Pythonista - see the repo here. Please post all issues/bugs/ideas etc. there. (I plan on updating it weekly from master.)

Started by hyshai (in Share Code) — 18 replies, latest 4 days ago


Another newbie question: How to get a view created on the iPad to resize or scroll around on iPhone

I just got an iPhone, and have a bunch of scripts with UIs that I developed on the iPad. When I brought them over to the iPhone, they don't resize or scroll, so many of the entry fields and buttons are not accessible. Is there a way to fix this without r...

Started by michael_recchione (in General) — 7 replies, latest 5 days ago


How to export a .pyui file to dropbox?

I'm sorry for what's probably a stupid question, but I've been struggling with this for a while, and can't find the answer... I'm using dropbox to copy files from my pythonista scripts directory on my iPad to my iPhone. When I open a .py file in the edit...

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


scene.load_pil_image

I am working on a chess game. I have all the images I need stored in a folder: Chess/gui_pythonista/imgs/ and a file Chess/gui_pythonista/sprites.py. In the file, I want to load the images from the images folder to something that can be used by scene.ima...

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