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!
Sep 08, 2015 - 05:45
techteej
Don't know whats up with the problems I've been having lately...Literally this script worked fine yesterday. Looked into it and it shows whe...
Sep 07, 2015 - 19:32
Webmaster4o
It's fine if the slash is at the beginning or at the end, but if it's in the middle... Try searching for `hel/lo`, or for `P/ythonista` ![](...
Sep 07, 2015 - 03:33
Webmaster4o
Say I have a class, in which I have the function `animate(self)` which does a bunch of actions and then animates something. It looks somehin...
Sep 06, 2015 - 23:41
Webmaster4o
Is there a way to display a color picker with UI? Like the one built into pythonista? I know tkinter has one built in...
Sep 06, 2015 - 22:06
SillySoviet
Hi guys, Does anyone know of a best practice to get data pulled from an external data source (RedShift in my case, via pg8000) and be able ...
Sep 06, 2015 - 18:52
techteej
I haven't seen this error before, until I loaded up my script today: ![](http://i.imgur.com/Usv2oGj.png)
Sep 06, 2015 - 16:01
daveterry
Has anyone done any workflows creating email attachments? I have a partial workflow working but don't know how to hand the attachment off t...
Sep 06, 2015 - 15:13
Webmaster4o
Is there any way to add a did_rotate function to a custom view class that is called when the screen dimensions change because I rotated my d...
Sep 06, 2015 - 13:59
ccc
Is the TI SensorTag Bluetooth example working in the current Beta? I am running the second example in the cb module documentation but all I...
Sep 06, 2015 - 09:42
jrh147
I have a simple Markdown file with YAML header that looks something like this: ``` --- title: "Mary had a little lamb" link: http://google....
Sep 06, 2015 - 09:12
JonB
I wiped my IPad today (trying to get a new SIM card working). I of course backed up in ITunes first. However, when I restored, Pythonista ...
Sep 06, 2015 - 00:05
TutorialDoctor
I have been working on creating my own [command line interface](https://gist.github.com/TutorialDoctor/d3d71459f6467d8c3f22) with Python. I ...
Sep 05, 2015 - 16:35
Phuket2
@omz, It would be great if all ui elements could be instantiationed with all attributes as named params as well as a parent param. If the pa...
Sep 05, 2015 - 14:07
Phuket2
I am not sure if this was always the case or not (I have a feeling it wasn't) But at least in 1.6 if you have a .pyui file and rename it to ...
Sep 05, 2015 - 04:09
Webmaster4o
Finally got around to putting the iOS version of Image2ASCII on my github. This is probably my project I'm proudest of, I spent a long time ...
Sep 04, 2015 - 21:13
techteej
Correct me if I'm wrong, but shouldn't the following statement work based on if my variable is true or false? ``` if twitter_mode: ...
Sep 04, 2015 - 15:31
filippocld
Hey guys, I need help. I was interested in installing and trying the 'cffi' module. I installed it with StaSh but i get an import error when...
Sep 04, 2015 - 15:05
Phuket2
I just wrote this code because I wanted the size of a pyui file's view without having to literally load the view (object creation, memory a...
Sep 04, 2015 - 13:25
Phuket2
Sorry in advance if this is a Python question Vrs a Pythonista question. I am just not sure. I have a cell class (a view to display informa...
Sep 04, 2015 - 12:33
MartinPacker
Some bulletin boards manage to position me at the first unread comment in a post stream. I've no idea which set of infrastructure omz:forum...
Sep 04, 2015 - 06:06
Jozh
Is this the best way to say output a list of say the 10 closest birthday? I think not. Thank ``` import contacts from datetime import datet...
Sep 04, 2015 - 04:02
ywangd
The update comes with many new features mostly thanks to the awesome `objc_util` module. It is available on the GitHub repo as branch [beta1...
Sep 04, 2015 - 00:04
dgbeecher
Hello, I'm trying to figure out how to take text from Drafts 4, send it to Editorial, and use it to create a new file in a specific folder ...
Sep 03, 2015 - 23:43
dgelessus
From the guy with almost zero practical experience with C, here's a more-or-less functional C preprocessor, for all your C preprocessing nee...
Sep 03, 2015 - 15:07
buschfsu
new to python and programming but i have coded a ui that will give me the output i want (a string) when i press a button. i can include the...
Sep 03, 2015 - 04:38
smath
@omz - You've likely already thought of doing this, but I wanted to see what your thoughts are. I would love to be able to see my code side ...
Sep 03, 2015 - 03:44
Webmaster4o
I think there should be a way to mark certain lines in a function that should not be animated when `ui.animate` is called. For example, in m...
Sep 02, 2015 - 13:02
georg.viehoever
I ran Clock.py within Safari using the Share sheet "Run Pythonista Script" entry. The Clock was Displayed correctly, but i Found no way of S...
Sep 02, 2015 - 03:32
reefboy
Is there away to have playable videos in the console screen? By playable videos I mean one I can see click on a watch.
Sep 01, 2015 - 17:12
Webmaster4o
The Mac finder has a view called cover flow, which looks like this: ![](http://i.imgur.com/NyMzVaQ.jpg) ![](http://i.imgur.com/kEEljYQ.jpg) ...
Sep 01, 2015 - 16:25
ihf
notification.schedule("hello world",5,"circles") Notification fires but no sound. Volume is up. What am I missing?
Sep 01, 2015 - 16:21
mjakubowiak
It would be fantastic if it'd be possible to switch default unit for counting text lenght (in case of folding or general words count) from w...
Sep 01, 2015 - 12:07
mr88cet
(Apologize in advance if I just missed it, but I can't seem to find this either in the docs or this forum.) Is there a way to invoke our sc...
Sep 01, 2015 - 03:42
Webmaster4o
I've been able to get the [roku](https://github.com/jcarbaugh/python-roku) module working on pythonista! I briefly had a problem when it req...
Aug 31, 2015 - 12:37
georg.viehoever
In Safari, it is possible to add shortcuts to the iOS homescreen. These shortcuts Open a specific web Page. Is it possible to add a shortcut...
Aug 31, 2015 - 03:10
techteej
In version 1.5 I was able to use a view as sort of a section divider/background square to make the UI look a tad nicer. I tried today to sen...
Aug 30, 2015 - 21:47
icanread
Love the app, but is there a way to get easier access to the Undo button. I know I can hold down the ':' to get an undo option, but the way...
Aug 30, 2015 - 19:28
Phuket2
I have seen quite a few posts about loading subviews into an existing view. As has far as I have seen there is no way to load a pyui into th...
Aug 30, 2015 - 11:48
Phuket2
@omz, I am sorry to sound like a broken record on this Topic. But it would be so handy if ui elements had a user_data attribute. Or whateve...
Aug 30, 2015 - 10:59
wolf71
in editor, the python code can export to pdf,but when Open a markdown file, can't found save as pdf. can add this function. so I don't swit...
Aug 29, 2015 - 23:56
Webmaster4o
I made a cool animation with scene. Is it possible to get a snapshot of the scene from within the program? Or should I rewrite in PIL. The c...
Aug 29, 2015 - 11:12
Phuket2
I am not sure if this is an issue or not. Just occasionally, I find I have the same .py file open in multiple tabs. I just realised how one ...
Aug 29, 2015 - 04:37
fitzlarold
I know this is a strange idea and normally this wouldn't be a thought, but I tried, had trouble, and it became a sort of quest. My questio...
Aug 29, 2015 - 04:08
rianmurphy
...that appears when I tap "+" to create a new document. If I create a new text document and rename it with ".fountain" at the end, the app...
Aug 29, 2015 - 04:01
wradcliffe
When running a script - clipboard.get() appears to be returning the full path to the current file opened in the editor instead of the conten...
Aug 29, 2015 - 01:46
noopykat
Hello To everyone from the West Coast of Canada, I have an iPad Air 1 running iOS 8.3, soon to be 8.4.1 and I would like to use it as my pr...
Aug 28, 2015 - 21:55
tomkirn
Hi all, Thanks OMZ for reintegrating canvas module in actual beta. Unfortunately I have a problem with it. Even trying a simle example from...
Aug 28, 2015 - 21:08
Webmaster4o
Is there a way to hack the `speech` module to save audio files instead of directly playing them to the device speakers?
Aug 28, 2015 - 17:02
mmontague
This is probably an easy one. But I've been spinning my wheels for a while so I thought it's time to ask for help. I want to show a graphic...
Aug 28, 2015 - 15:40
Phuket2
Does anyone know if there is anyway to iterate through the built in images. If possible, I guess it would not be a single index. But a categ...