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!
Jan 07, 2016 - 11:08
upwart
I have a couple of mp3 (caf) and jpg files that I would like to use in a script. I used to transfer these via iFunBox, but in the later ver...
Jan 05, 2016 - 22:38
Webmaster4o
It'd be great to have a toggleable editor feature that would hide all lines with comments, doc strings, or white space, then show them again...
Jan 04, 2016 - 23:03
mrcoxall
I am looking to use the code for creating multiple scenes ( from here https://gist.github.com/omz/4059061 ) but I would like to seperate the...
Jan 04, 2016 - 19:31
TutorialDoctor
The following code animates a custom view in and out with the press of a button. For now, the setup is automatic. Once I find a way to neatl...
Jan 04, 2016 - 13:06
Kluesi
Hi I load an image on Class Definition: ---SNIP--- Class XYZ (Scene) board=load_image_file('animage.jpg') ... def draw(self): im...
Jan 04, 2016 - 10:03
Kluesi
Hi I am using Pythonista for iOS and I am new in the Python language. I wrote some scripts with "ui" and some with "scene" and I tested the...
Jan 03, 2016 - 17:42
dshafik
Hi, I am currently trying to replicate some of my Mac workflow to iOS, and the biggest hurdle I've run into is code highliting for keynote ...
Jan 02, 2016 - 19:10
JonB
For what it's worth, been playing around with objc in the beta, and came up with this method to list all editor file paths. I was going to ...
Jan 02, 2016 - 15:34
cjchallis
I wrote a party game using the Scene module that involves passing my phone around a lot. Someone inevitably pushes the corner 'X', which qui...
Jan 02, 2016 - 13:15
Phuket2
I have never used the scene module before, but I was doing some drawing in a custom view , just overriding the draw method. But needed to do...
Jan 02, 2016 - 04:24
echen
Is it possible to pass a username password to http Basic Auth in ui.webview? thx.
Jan 01, 2016 - 18:49
MartinPacker
In a Python script I'd like to be able to take a path and resolve it so I can use editor.get_file_contents() for it. Two examples: 1) meta...
Dec 31, 2015 - 18:28
SwaggyP
I just bought Pythonista recently and I was trying to see if I could just set up a new git repo. Every time I use the git command StaSH tel...
Dec 30, 2015 - 22:14
mikael
# MarkdownView MarkdownView is a [Pythonista](http://omz-software.com/pythonista/) UI library component. It is a drop-in replacement for ui...
Dec 30, 2015 - 13:54
Phuket2
Sorry, this is more likely a Python question than it is a Pythonista question. But I have searched else where and can not find the answer. I...
Dec 30, 2015 - 07:37
upwart
I haven't used Pythonista for a while, but now I'm picking it up again. When I run any script with sound (via The Player claas), I can't hea...
Dec 30, 2015 - 06:36
AnkleHat
Is it possible to add thumbnails in editorial?
Dec 30, 2015 - 01:51
marcus67
I would like to use a CSS file in an HTML page passed on to `ui.WebView.load_html` but I cannot figure out which filename to use. The simpl...
Dec 29, 2015 - 21:35
MartinPacker
I'd like to mimic the built-in Markdown to HTML function but with a twist... ... I want to preprocess the source text before throwing it th...
Dec 29, 2015 - 18:37
Oscar
I bought a SteelSeries Stratus XL game controller for my new Apple TV today. I thought it would be fun to connect to it with Pythonista, but...
Dec 29, 2015 - 01:03
marcus67
For my other Pythonista apps "rechtschreibung" and "gitsynchista" I have written a little tool called `pyzipista` to create a self-extractin...
Dec 28, 2015 - 12:22
dgm
Hello everyone, I downloaded pythonista a couple weeks ago and created a forum account a few days ago, but this is my first post. I wanted ...
Dec 27, 2015 - 12:44
marcus67
Since I wanted to synchronize my Pythonista files with my project on GitHub I installed the iOS app "working copy" and use my little tool "...
Dec 27, 2015 - 12:23
Phuket2
@omz, not a big one, but ImageView and Label are repeated in the API reference for ui
Dec 27, 2015 - 01:58
marcus67
Some time ago I started a little app to test different rule sets for German spelling. This is probably only interesting to native speakers. ...
Dec 26, 2015 - 18:22
paultopia
You know what's annoying? When people post stuff online as html-books, like with a table of contents page and then a bunch of linked sub-pa...
Dec 26, 2015 - 14:26
tguillemin
I have a file (Gradus.txt) with the following lines : ``` aaa bb cccc d eeeeee fffff ``` and I would like to sort it (e.g. ASC) : ``` d bb...
Dec 25, 2015 - 14:40
Oscar
With the new type of Scenes with Nodes instead of using Layers or implementing draw(), what are the options when building an app with multip...
Dec 24, 2015 - 16:44
echen
reading through the doc, I understand that I can use delegate object to to implement the functions textField_did_change to implement validat...
Dec 23, 2015 - 16:40
userista
I'm not sure if this is expected behavior but `webbrowser.open` returns false and doesn't open the URL in the app extension (via console and...
Dec 23, 2015 - 16:37
Phuket2
@omz, you mentioned to me before about not being able to control the keyboard animation. I am but sure I thought you said something like you...
Dec 23, 2015 - 15:07
dejan56
Hi, I am new to both Python and Pythonista. I am trying to create code to deduplicate contacts on iPhone. However, I am not able to add em...
Dec 23, 2015 - 05:37
AnkleHat
Hi I'm new to Python, I just finished learning basic programming. I was wondering if there are any sprites or anything like that in pythonis...
Dec 23, 2015 - 01:08
Olaf
I played around with the *beta* 1.6/soon-to-be AppStore 2.0 **appex** module, which provides a way to make application extensions in Pythoni...
Dec 22, 2015 - 13:30
Phuket2
Well made its a crap idea, but t I don't think so... @omz , we know it's not possible to sub class ui.Button etc. hmmm, maybe objc... Does s...
Dec 22, 2015 - 09:33
Phuket2
@omz, without understanding the technical issues or commercial issues, i wanted to ask would it be possible to do dumps of the forum. If thi...
Dec 22, 2015 - 03:50
BV
When I attempt to create a six-level deep unordered list, Editorial only renders the list to level five. The sixth level is blank in preview...
Dec 21, 2015 - 16:42
Phuket2
@omz, are the concepts of frames and bounds , Center not 100% correct? Look if it's a little broken that's ok. But I am never sure if it is...
Dec 21, 2015 - 16:30
Phuket2
I wanted an auto_close function (async) in a custom ui.View class. I wanted to keep it as simple as possible without using date time and kee...
Dec 21, 2015 - 13:10
[deleted]
Hello, I really enjoy using your app. But one thing I'm curious about is the unavailability of the backward sorting function by name - which...
Dec 21, 2015 - 13:05
mikael
TextView seems to inherit or proxy content_inset from ScrollView, but it does not work for me. Something like the correct inset is briefly f...
Dec 20, 2015 - 23:25
Kluesi
How can I transfer Scripts (*.py) and UIs (*.pyui) between differen devices like an iPhone and an iPad?
Dec 20, 2015 - 21:39
Kluesi
Hi I am new in Python especially in Pythonista for iOS. But it looks very interesting. I want to create a little private game for me and m...
Dec 20, 2015 - 17:09
Phuket2
@omz, I am not sure if this is only my system, I don't think so... But the widgets/buttons/controls whatever you call them for adjusting num...
Dec 20, 2015 - 16:51
Phuket2
When raising an error, I don't see all the text I have sent , it's truncated . Is there a way I can see all the error text without disruptin...
Dec 20, 2015 - 16:15
Phuket2
This drives me crazy. But every time I hit the link or code buttons in the forum using safari (iOS) the paste icon goes inactive (grey). The...
Dec 20, 2015 - 14:41
shaun-h
Hi All, just wanted to share something I have been working on for a few weeks now and wanted to know if anyone would find it useful etc. I ...
Dec 20, 2015 - 08:15
AtomBombed
Here is my module: ``` char_dict = ["a","A","b","B","c","C","d","D","e","E","f","F","g","G","h","H","i","I","j","J","k","K","l","L","m","M"...
Dec 20, 2015 - 05:09
ihf
Using Stash wget I've downloaded several .gz files but if I try tar -xvf, I get "invalid header". Should this work? Is this a known bug?
Dec 19, 2015 - 22:34
mikael
I have a WebView delegate with the webview_should_start_load method. Checking the incoming url in the method, all other urls are as expecte...