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!
Dec 19, 2015 - 21:07
filippocld
Today i bring you a cool little script that can be useful to some of you. It basically tests if your device is jailbroken. Hope you enjoy :-...
Dec 19, 2015 - 20:55
imnegan
Hi all, I'm having a great time learning programming and python with Pythonista (awesome app!) by making a little space game. In it I have ...
Dec 19, 2015 - 14:17
Phuket2
Not sure if this is correct or not. But you can't add the same ui.ButtonItem twice. Does not matter if it's left or right side. It sort of m...
Dec 19, 2015 - 13:56
ben
Thanks for Editorial, it's a great app. It would be significantly more useful, however, if on devices supporting iOS 9's new split screen a...
Dec 19, 2015 - 13:41
Phuket2
@omz, maybe a lack of my Python ability, but I find it difficult working with ui.left_button_items and ui.right_button_items. I just have to...
Dec 18, 2015 - 17:31
Phuket2
This works, sort of...one class that can either be a loaded pyui file or a class inherited from ui.View. It works. But not one step... I got...
Dec 18, 2015 - 14:03
scj643
Would it be possible to provide IPA files for the beta version. This is so people that want to look at the beta can and not take up space in...
Dec 18, 2015 - 01:29
ccc
The NodeBB software that runs this user forum seems to generate a bunch of false positives when you search. I know that I was in a bunch of...
Dec 17, 2015 - 22:31
Sebastian
I'm still kinda wondering about the `scene.gravity`. I mentioned something about it [here.](https://forum.omz-software.com/topic/2398/bug-li...
Dec 17, 2015 - 20:33
donnieh
Shouldn't the following code open a web browser? ``` import webbrowser url = 'www.yahoo.com' webbrowser.open(url) ```
Dec 17, 2015 - 19:55
Sebastian
Anyone else noticed that the `plf:Enemy_Fly_move` and the `plf:Enemy_Fly_dead` have switched places? 😆
Dec 17, 2015 - 08:37
thomasborowski
When I open Editorial on my iPhone with an active Personal Hotspot connection (blue bar visible at the top), Editorial's startup screen show...
Dec 17, 2015 - 03:46
ihf
I was trying to run the Example/ObjC/Camera Scanner but it seems to crash Pythonista after taking a photo. Does anyone have this working?
Dec 16, 2015 - 00:37
dgelessus
https://github.com/dgelessus/fistutils These are `distutils`, `setuptools` and `pip` modified to run on Pythonista. They "work", i. e. you ...
Dec 15, 2015 - 21:29
ihf
I would like to use SCP under Stash but it is looking for keys. I know there is an ssh-keygen command but what exactly do I need to do in or...
Dec 15, 2015 - 18:38
Phuket2
@omz, I am not sure if you are interested in extending the dialogs module further or not. But 2 easy things come to mind.. In the fields dic...
Dec 15, 2015 - 15:01
Phuket2
@omz, I am guessing because you have not written about it, that those on the beta will be seamlessly updated to version 2.0 when it's availa...
Dec 15, 2015 - 11:19
Phuket2
Sorry, I know this is not a Pythonista question directly, but it relates. I really want to make a directory in site-packages directory for...
Dec 15, 2015 - 03:08
ihf
I am able to import openpyxl but when I try to run a sample script I get an error which I could use some help understanding. The script: f...
Dec 15, 2015 - 02:47
jesse_the_k
So I'm a long-time Editorial user, but not a programmer. Most of the workflows discussion here is incomprehensible to me. I see references...
Dec 15, 2015 - 01:25
Richard
When I am running below code under IOS 9.2, I can't make quora run: import webbrowser webbrowser.open('quora://') I tried 'quora://' in Lau...
Dec 14, 2015 - 18:13
Phuket2
I only seen this today. But in the dialogs.form_dialog, the way @omz has implemented time and date is very nice. Is animated and the right s...
Dec 14, 2015 - 14:10
Phuket2
Firstly, I am not sure I understand this correctly, but what I think I understand this, If I have a file named __init__ in a directory with ...
Dec 14, 2015 - 01:43
daveterry
Is there any way to access Editorial's "Editor Settings" through python scripting? I have some workflows that need auto-caps on and others...
Dec 13, 2015 - 20:36
AtomBombed
How would I handle the collision of two layers in the scene module. Coded examples would be helpful. I need to know how since I am making a ...
Dec 13, 2015 - 18:55
Phuket2
Sorry in advance for this stupid question. But is it possible to have bottle running in Pythonista and have another script run that is using...
Dec 13, 2015 - 18:26
donnieh
In regards to ``` webView.load_url()```, is there a way to download the webpage content and display the downloaded page? I have a webview i...
Dec 13, 2015 - 11:06
Sebastian
How does the `ui.TableViewCell.detail_text_label` work? It is always `None` when I try to make changes to it.
Dec 12, 2015 - 23:54
Oscar
After playing with the boids example I posted some time ago (https://forum.omz-software.com/topic/2393/beta-boids-with-a-crash) I started to...
Dec 12, 2015 - 12:39
Phuket2
@ccc, I have some questions. I hope you don't mind I started a new thread here. Was not sure we're to put it, Pythonista or General. So to b...
Dec 12, 2015 - 09:01
Phuket2
Is anyone aware if it's possible to highlight a block of code and indent it deindent it? Normally this would be done with tab and shift tab....
Dec 11, 2015 - 21:57
donnieh
Most plt examples either display the plot in the console or save the image and display in ui.imageview(). Is there a way to show it in a ui...
Dec 10, 2015 - 15:15
Phuket2
After reading around, to the best of my knowledge currently this is the best way to determine Pythonista's Version. No imports required. `...
Dec 10, 2015 - 14:20
Phuket2
@ccc, is there a forum style place to discuss your repo's with you. I was looking at your timer code today with the context manager, from te...
Dec 10, 2015 - 07:48
adonishong
I am processing a lot of data. HDF5 with compression filter is helpful for doing such thing, without compression, I have 50GB data for stora...
Dec 09, 2015 - 15:16
Phuket2
Maybe I am the last person in the world to do this. But after reading other posts about the unread badges, I have been using that page. It's...
Dec 09, 2015 - 11:34
Sebastian
Is it possible to use the asset picker within a `scene.Scene` (the thing that opens from the editor when you tap the '+' button)? Or do I ne...
Dec 09, 2015 - 07:54
Sebastian
I often find myself having trouble reading the code on my iPhone, as the script gets bigger, and I sometimes have to transfer it to my compu...
Dec 08, 2015 - 17:13
donnieh
I am not having much luck animating content offset. When the view loads I want the scrollview to glide to the offset position. Any tips impl...
Dec 08, 2015 - 16:42
donnieh
In the forum what is the badge icon for? I always have notifications there but they seem random. The topics they point to seem like nothing ...
Dec 08, 2015 - 14:33
Phuket2
@omz, I am not sure if this points to an issue or not. But I use your Sample code in my startup script to change the brightness of the scree...
Dec 08, 2015 - 12:46
Phuket2
@omz, can you please announce an acronym for Pythonista. (Sorry, If there is one, I have never seen it). I often struggle with this small is...
Dec 08, 2015 - 08:43
Phuket2
Firstly I assume to get the root or home dir for Pythonista you do: **os.path.expanduser('~') + '/Documents/'** I think that's correct anyw...
Dec 08, 2015 - 07:04
Sebastian
I think I remember there was a platformer game example in one of the previous examples, and since I started to make a platformer game myself...
Dec 08, 2015 - 06:34
bee
Hi @omz, Sorry for asking an out of topic question. I'm just curious and can't hold myself to ask. Since Swift is now open source, is it p...
Dec 07, 2015 - 23:09
zombie
Is there a way that I can get the Scene module to print a graphical LaTeX output, possibly as an image? My goal is to have Scene produce a f...
Dec 07, 2015 - 21:03
donnieh
I do not see an option any where.
Dec 07, 2015 - 16:30
dendrites
Hello, I see that there’s a Reminders module in Editorial now and I’ve also found and tried the 15 minutes Remind Me workflow. For us non-p...
Dec 07, 2015 - 16:27
Phuket2
@omz, it would be nice if editor.open_file(name) could open in a new tab instead of the active tab when called from the tools menu. The do...
Dec 07, 2015 - 16:06
Phuket2
Ok, some more trivial code to share. This is for the tools menu. All it does is create a temp file in a directory , if you want with some te...