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

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)


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)


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) — 1 reply 1 hour ago


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 3 hours 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 3 hours 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 2 days ago


ImageView Bug

I've discovered a very irritating hang-up bug. The following code demonstrates it: import ui v = ui.View() im = ui.ImageView() im.load_from_url('http://upload.wikimedia.org/wikipedia/commons/d/db/Patern_test.jpg') im.flex = 'LRTBWH' v.add_subview(im) v....

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


Feature request

I bought myself a thermodo for entertainment and because they have an sdk. The feature request would be too add the ability to 'listen' to mic data.

Started by Dann (in General)


UI Weather

Here is a Very basic and messy Weather program inspired from a post I saw here a while back.

Started by techteej (in Share Code) — 4 replies, latest 2 days ago


Bug: input_alert() doesn't trigger the keyboard

When using console.input_alert(), the keyboard isn't properly activated. This can be seen in two ways. First, when using an external keyboard, triggering an input_alert and then typing actually continues entering text into the editor instead of the alert....

Started by RainmanNoodles (in General)


Pythonista caching problems

While developing some new scripts, I started dividing functionality into separate files. An example of this is a FeedWrangler class that I'm going to use in a few different things. I have two files: the FeedWrangler.py file with the FeedWrangler class, an...

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


Multiplayer online game using Python

I would like to create a multiplayer online game using Python. Is this technically possible? If so, where would I begin?

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


Web2py

I downloaded Web2py and, lo and behold, it runs without Tk by starting a web server and all editing can be done there. The problem is that after a short time the script stops and I get the notification that the script has been stopped by the background tim...

Started by ihf (in General) — 11 replies, latest 4 days ago


ios module for Calendar

I've done a search of the forum, and I can see that back in 2012 there was a suggestion that there may be an ios specific module to get access to the Calendar and calendar events. I can see in the release notes for the 1.6 beta, that this still isn't the c...

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


git repo manager

Here is the start of a git repo manager for pythonista. I was frustrated with some limitations of the shellista git, and in some cases a graphical display makes more sense. The repo dropdown menu shows all repos on the device, and when a repo is selected...

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


StaSh - Shell Like an Expert in Pythonista

Inspired by shellista and its variants, StaSh is a serious attempt to implement a bash-like shell for Pythonista. StaSh behaves more like a real Shell, such as Bash. It is feature rich and allows users focus on tasks without getting in the way. Notable ...

Started by ywangd (in Share Code) — 29 replies, latest 5 days ago


Importing scipy package

I imported the scipy source package into the site-packages folder...what do I do now? A call to "import scipy.stats" gives me an error message: ImportError: Error importing scipy: you cannot import scipy while being in scipy source directory; plea...

Started by smisuta (in General) — 7 replies, latest 6 days ago


Best way to implement recurring task

Hi there, I'm currently working on a project what should call an API about every minute (the exact timing is not that important). In order to do it I have a while loop wich is paused after each loop for 60 seconds. def loop(): while True: upd...

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