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

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) — 138 replies, latest 42 minutes ago


chordcalc - a stringed instrument chord calculator

chordcalc is a gui-based version of Gek S. Low's chordcalc 0.3. Too many features to describe. See the readme on the github repository. Includes makeWaves.py, a program to create 96 2-sec sound files that allow the script to play the sounds of the frett...

Started by polymerchm (in Share Code) — 10 replies, latest 1 hour ago


import numpy fails

worked yesterday (day 2 using Pythonista)... getting an error ... ImportError: cannot import name add_newdocs The general configuration doesn't allow to check site packages like on a windows machine (I am lost without a directory browser...noob on iPad) ...

Started by Dan_Patterson (in General) — 4 replies, latest 1 hour ago


Restore examples does not work

Hi, I made some modifications to cards.py and when I use restore examples in settings nothing happens. How is restore supposed to work? Thanks,

Started by Billb (in Questions) — 1 reply 2 days ago


Where to find or add images, sounds, etc.?

e.g. Cascade.py refers to images "GreenApple" and sounds like "Coin3". and Where are these located? Where will I find a list of all available images and sounds? And what is the recommended way & location to add my own images or sounds? Thanks!

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


Check what device a script is on

What is the best way to check whether my script is currently running on a mobile device or somewhere else (like my laptop)? sys.platform appears to be set to 'unknown', but relying on that seems shaky. I could check for the existence of certain modules ...

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


Pythonista to Xcode to iOS app Tutorial?

Hello, Apologies if this has already been covered, but I have not seen anything but bits and pieces that don't quit stitch together for me. I'd like to see a tutorial on how to take a Pythonista app from the iPad to Xcode and then to an actual iOS app. ...

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


Here is a script to control a local WeMo switch.

This is a script that you can use to control a local WeMo switch. You can turn turn on, turn off, toggle, or get status. You need to know the local IP of the WeMo and enter that in the top of the script. Then, uncomment one of the triggers at the bottom of...

Started by pruppert (in General) — 1 reply 3 days ago


File Type Not Changing

In this script, changing the file type in the file type dialog doesn't actually change it. Find the .pyui file here.

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


Tell cursor position in a TextField?

It seems not possible to tell where the cursor is at in a TextField? For TextView, there is the selected_range property. But it is not available for TextField.

Started by ywangd (in Questions) — 3 replies, latest 4 days ago


Tabbed File Editing

I would love to see tabbed editing implemented in the native pythonista editor, but in the meantime I've come up with a work-around. Tabs is a sidebar that allows you to add the current file as a tab (it will ask you to name the tab). There are probably be...

Started by smath (in Share Code) — 16 replies, latest 4 days ago


Choose From List Function

I'm not sure if I'm just missing something, but I can't find a built-in choose from list function. There's an Editorial workflow action for this, but I'd like to be able to use it in a Pythonista script. I would assume it would be in the console library. ...

Started by RainmanNoodles (in Questions) — 3 replies, latest 4 days ago


Opening files with very long strings.

It seems Pythonista can not open a file if there is a very long line of text inside. This file for example if saved to Pythonista and then opened will freeze her indefinitely.

Started by Screamik (in General)


Using Workflow app with Pythonista

I'm just beginning to play with the new IOS Workflow app and trying to understand how it works with Pythonista. I was trying to see if I could create a WF which simply ran a script and spoke the output (obviously I don't need WF to do this but it is simply...

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


Archive scripts library to .zip

Here's a script that will backup everything in your Pythonista folder into a .zip file. I realize a lot of folks already link Pythonista with Dropbox and may find this extraneous, but I like being able to make/keep local backups. Anyhow, I hope others ma...

Started by pacco (in Share Code) — 11 replies, latest 5 days ago


Best practice for choosing a folder in a dialog

files1 = sorted(os.listdir(os.getcwd()), key=str.lower) script = dialogs.list_dialog(title='', items=files1, multiple=False) if '.py' not in script: files1 = sorted(os.listdir(script), key=str.lower) script = dialogs.list_dialog(title='', items=fil...

Started by techteej (in General) — 1 reply 6 days ago


Servr - mobile edition 2.0

Hi all! I recently released version 2.0 of my "Servr - mobile edition" iOS app built in Pythonista. I am very proud of it, but, of course, I can see a couple areas to work on for version 2.1, or even 3.0. I would like to know what specifically the Pythoni...

Started by Gerzer (in General)


pythonista-homescreen-icon: Customizable icons for your scripts

0942v8653/pythonista-homescreen-icon allows you to add a home screen icon for any script. It's not too polished yet, but it works :) It uses the Typicon icon set (white) in the foreground and allows you to choose a gradient for the background. Then it ope...

Started by 0942v8653 (in Share Code) — 1 reply 6 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) — 74 replies, latest 6 days ago


Feature request - improved "Move" file or folder interface

The current "Move" interface shows fully unrolled folder hierarchy in the pop-up. It is actually quite hard to find your way around this. Is there any way this could show just the top level folders, and unroll them only as needed e.g. tap-and-hold to open...

Started by Des (in General) — 2 replies, latest 20 Dec