Forum Archive

These pages contain a static archive of the old community forum for Pythonista (and Editorial) between 2012 and 2022. The Pythonista forum is now hosted on GitHub: → Join the Discussion!
Aug 09, 2014 - 14:51
brumm
I like to block the touch event of the subjacent view but I have no success. Any ideas? [pop-over2.py][1] [1]: https://github.com/...
Aug 09, 2014 - 06:44
polymerchm
I have tried to use shellista git command to move a directory and subfolders up to github unsuccessfully. So I can convert to a zip and upl...
Aug 09, 2014 - 02:52
hubutz
Hi Guys, what mac App do you use Tibeter with editorial? Havent found the right one yet. The thing I'm looking for is a better integratio...
Aug 08, 2014 - 19:42
dgelessus
Since the 1.5 update relative imports appear to be partly broken. For instance, with a folder `testpkg` containing the files `__init__.py`, ...
Aug 08, 2014 - 17:17
polymerchm
Not sure how correctly to do this. Any pointers? I've done the "git init" and the .git directory exists, done the add for each of the file...
Aug 08, 2014 - 10:55
Jim
First, thank you Ole for adding TaskPaper functionality to Editorial—I truly appreciate it. The main feature that I am missing is the abi...
Aug 08, 2014 - 00:40
SpotlightKid
Here's a script I wrote (using pypista as the starting point) that looks up a package on PyPI, tries to download a fitting wheel package and...
Aug 08, 2014 - 00:20
SpotlightKid
On my iPad2 iOS 7.1.2 sound output from Pythonista (1.5) via the speech or sound module only works when I plug in headphones or connect it t...
Aug 07, 2014 - 18:26
robinsiebler112
I have 2 different controls on the same form calling the same action. The 2 ways of triggering the action are a) Pressing enter after enteri...
Aug 07, 2014 - 16:38
dgelessus
Since there doesn't yet appear to be any good way to share a UI script ***and*** its corresponding .pyui file, I decided to write this small...
Aug 07, 2014 - 15:26
polymerchm
Any simple way to do that?
Aug 06, 2014 - 23:58
SpotlightKid
[github_download.py](https://gist.github.com/SpotlightKid/04c2b5ce5978c0d66e6e) Prompts the user for URL, downloads the remote resource, ...
Aug 06, 2014 - 23:20
userista
If I have a call to `keychain.get_password` in a delegate and have a `master_password` set it will lock up the ui even if using a `@ui.in_ba...
Aug 06, 2014 - 22:39
robinsiebler112
I have definition like this: ``` class Task(): last_id = 0 def __init__(self, note, priority, tags=' '): Task.last_...
Aug 06, 2014 - 22:11
manuguerra
I have not been able to find this information, sorry if it has already been answered. Is there a way to programmatically scroll at the end ...
Aug 06, 2014 - 20:53
dgelessus
Simply put, this script analyzes the movement of the cursor and changes to the contents of a text field, and deduces what key(s) have been p...
Aug 06, 2014 - 19:29
hroe139
I'm baffled about what should probably be obvious to me. If I type `ddd` it expands to the date formatted as `[yyyy]-[MM]-[dd]` This i...
Aug 06, 2014 - 19:23
rkeir
I'm using a ui *WebView* with delegate function '**webview\_did\_finish\_load**' being called successfully, but the delegate function '**web...
Aug 05, 2014 - 20:11
brumm
Feel free to optimize it... :) [sftp-client][1] [1]: https://github.com/humberry/sftp-client
Aug 05, 2014 - 09:09
polymerchm
I have "ported" my flashcard trainer from Hydrogen to the ui. Love it. Another tableview question. Can I programmatically choose what "row...
Aug 03, 2014 - 22:03
Pythonic
Hi, is there any way to set the focus on input elements in UI Views? I have created a view containing a TextField and a WebView. I'd like to...
Aug 03, 2014 - 20:29
robinsiebler112
I have a view. On the view, I have a textfield and a button. Until the textfield has text, the button is disabled. Currently, I have to ente...
Aug 03, 2014 - 20:12
robinsiebler112
When I try to use the push command after a commit, I get the above mentioned error.
Aug 03, 2014 - 14:53
remino
Hi, I'm new to Editorial and I'm new to Python. I created a new workflow with only one action, a custom Python script. I want the s...
Aug 03, 2014 - 11:02
daveterry
How can I dismiss dialogs with my external keyboard? (Lifting my hand from the keyboard only to press the "Done" button is wasted effort.) I...
Aug 02, 2014 - 23:42
ihf
A Pythonista-specific code repository would be great but in the meantime I wonder if people would be willing to say which packages they have...
Aug 02, 2014 - 21:14
techteej
Just letting everyone know that I'm setting up the [website side of Pythonista Tools][1], just to make it easier then browsing the code thro...
Aug 02, 2014 - 20:52
iisdev
I apologize in advance - this is probably another basic question. I'd like my python program to run continuously in the background until:...
Aug 02, 2014 - 17:33
amjoconn95
Thanks for Pythonista, it is a sweet app. I wrote a count down timer and it works great but after 6 or 7 minutes the iPad turns off the dis...
Aug 02, 2014 - 17:32
ihf
I was hoping to be able to write a script which would fetch some stock quotes every n minutes in the background and store them. By "backgrou...
Aug 02, 2014 - 13:55
techteej
[Here is][1] a simple number guessing game I made a while back. Feel free to use for whatever. [1]: https://gist.github.com/tjferry14...
Aug 01, 2014 - 16:12
awenocur
When I created a simple find/find next action, I found that changing the selection in the editor was insufficient to locate text in a time-e...
Aug 01, 2014 - 04:15
ihf
I realize that this is not a Pythonista question per se but perhaps someone here can help. If I have a function which uses the google api to...
Jul 31, 2014 - 20:38
LawAbidingCactus
This is slightly off topic from the regular discussions, but is there any chance that Pythonista is going to make its keyboard available sys...
Jul 31, 2014 - 19:03
Omega0
I want to use the `detail_text_label` on a `TableViewCell` but the documentation says that it's only accessible in non-default styles of the...
Jul 31, 2014 - 16:48
ccc
Check out [SceneViewerQuad.py][1] which creates four scene.Scenes embedded in one ui.View. Touch the four quadrants of the screen to create...
Jul 31, 2014 - 14:31
polymerchm
is the alphabet quick index exposed in pythonista. I'm loathe to make 26 cute little buttons, but will do so if necessary.
Jul 31, 2014 - 01:06
smath
I'm working on an app using the ui library, and have run into a problem. Given input from the user, I will produce a plot with matplotlib, w...
Jul 31, 2014 - 00:31
robinsiebler112
This is my version of 'Hello World'. It is a simple app to keep track of tasks. I added a GUI to it thanks to Pythonista. https://github....
Jul 30, 2014 - 23:55
robinsiebler112
I am trying export a folder to Gist. When I do it, I get 422 error code. I don't have a problem exporting a single file.
Jul 30, 2014 - 23:09
robinsiebler112
In the below code, I have a form open. Clicking on the 'search' button loads another form in the 'prompt\_search' function. Interacting with...
Jul 30, 2014 - 20:35
dgelessus
Here's a small feature you may not know about: When a script generates some kind of exception that is not handled, Pythonista displays th...
Jul 30, 2014 - 17:10
robinsiebler112
I created a View in the UI Editor and I set the width to 650. However, when I run the app, the view is not that wide and the text in my text...
Jul 30, 2014 - 10:45
robinsiebler112
I have a TextView in my UI called "task\_textview" How do I set the text for it in my main script? I tried task\_textview.text = "Foo", but...
Jul 30, 2014 - 08:42
misha_turnbull
Hey guys, just thought Id share this with you. It's a number factorizer that is designed to handle LARGE numbers (in the hundreds of thousa...
Jul 29, 2014 - 13:29
ccc
When you want to use both the `ui` and `scene` modules together, SceneViewer can act as a plug-compatible replacement for `scene.run()`. Of...
Jul 29, 2014 - 05:52
userista
Here's an alternate for LastPass on iOS - I use it numerous times daily. Makes copy/pasting passwords a whole lot simpler and faster. Pl...
Jul 29, 2014 - 03:03
halloleo235
Hi there I have a script doing some text conversion in the clipboard. I call the script via the `pythonista://` URL scheme. After ru...
Jul 28, 2014 - 21:55
henryiii
[Here](https://gist.github.com/henryiii/0a58c7e958c1b317f64a) is a little 2048 clone. It is focused more on being a simple example than bein...
Jul 28, 2014 - 12:47
ihf
I have no trouble downloading Gists but I have tried using shellista to download a git with git clone url and the first time I try it says ...