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 28, 2015 - 14:26
dgelessus
The new `pythonista_startup` feature is nice. The fact that any globals coming from `pythonista_startup` aren't removed is also nice. Especi...
I updated [Pythonista module versions](https://github.com/cclauss/pythonista-module-versions) to properly detect Pillow instead of PIL. The...
Aug 28, 2015 - 04:09
Webmaster4o
I can't seem to make imagefont work... The line
```
font = ImageFont.truetype("DejaVuSansMono", fontsize*4)
```
throws `IOError: cannot open...
@omz, It is awesome to have [Pillow](https://python-pillow.github.io) in build 160033!! Congratulations on this major step forward!
```pyth...
Aug 27, 2015 - 18:07
Webmaster4o
Are you planning ios7 support on the next version of pythonista? Recently received an iPhone 4 that doesn't support ios8. TestFlight isn't s...
Aug 27, 2015 - 09:50
Phuket2
I am sorry in advance for this question. This does not really belong here. But does anyone know a website/URLs that one can test again for d...
On [Pythonista-Tools](https://github.com/Pythonista-Tools/Pythonista-Tools), there is a new home for links to code created using the Pythoni...
Aug 26, 2015 - 23:29
weissenb
Hello!
I want to text from 1Writer to Editorial in order to make the further modifications in Editorial.
But the 'easy way' (like it works ...
Aug 26, 2015 - 17:55
Phuket2
I have asked this question before. But it was a while ago. Now you have had access to ctypes for sometime now(magic black box). But are ther...
Aug 25, 2015 - 21:28
TutorialDoctor
My presets list is very long. It takes about 30 seconds to load. Any way to back up presets so I don't loose them completely? Any way to com...
Aug 25, 2015 - 14:51
Phuket2
PDC, "Pythonista Developers Conference" until @omz names it himself. I think there should be one. I know python has pycon or something like ...
I've been dabbling with Pythonista on my iPad, and I put together a little regex testing tool (much like the .NET one I made for my Windows ...
Aug 25, 2015 - 13:53
Phuket2
@omz, I know pythonista has no ui for favoriate tabs to keep open in the editor, but is there some code that can be run to keep certain tabs...
Aug 25, 2015 - 13:27
mr88cet
Question: Does Pythonista include a debugger? If so, I haven't managed to locate it yet, but then again, I'm pretty new to Python in gener...
Aug 25, 2015 - 13:15
Phuket2
I am not sure what you guys will think about this. But, now when I am adding a custom view to a custom view, rather than letting layout do i...
Aug 25, 2015 - 11:46
cook
@omz
Sorry if this was asked before.
As I'm working away on some projects, eventually I may want to share these - but people that I may wan...
Aug 25, 2015 - 08:18
Cethric
In ObjC to add a new function to the JSContext it is as simple as ```context[@"functionname"] = (function)``` however this does not work in ...
Aug 25, 2015 - 02:03
wradcliffe
With the beta version of Pythonista it looks like it might now be possible to get CoreMIDI access going.
I know that there are several issu...
Aug 24, 2015 - 22:25
eric
When running a script a.py that import b.py, and I modify b.py once a.py as already been launched, I have to quit Pythonista for the a.py to...
Aug 24, 2015 - 20:00
filippocld
Hi guys,
Wanted to share you my Touch ID Authentication script:
https://gist.github.com/b0c075cfde406280cbf7
If you wanna improve it make ...
Aug 24, 2015 - 18:44
mjakubowiak
Is there a way to set an initial value to date picker in custom UI? I couldn't find anything in documentation.
Aug 24, 2015 - 08:38
eric
Hi
I've defined a custom view object with its pyui file
so I have:
a.py
a.pyui
A(ui.View)
Is it possible to use it from the editor in anoth...
Aug 23, 2015 - 23:36
erickcfi
I'm just curious if anyone has a solution for exporting .db files from pythonista and if they wouldn't mind sharing.
Thanks in advance...
...
Aug 23, 2015 - 16:49
filippocld
Hey community,
I need you help for a little objcutil script.
I wanna use Core Spotlight to index some results in spotlight (iOS 9)
I set the...
Aug 23, 2015 - 16:36
Pythonistapro777
I am doing an online quiz, (teacher recommended) and I need help with these 2 questions. I have selected what i think is the answer but coul...
Aug 23, 2015 - 16:15
Webmaster4o
My version of images2gif crashes whenever I use `writeGif` in the latest beta. Anyone else have problems? `readGif` works fine. Problem wit...
Aug 23, 2015 - 14:03
eric
Hi,
I want to use a SegmentedControl to switch between to two overlapped customview subviews. What is the best practice for this?
I tried ...
Aug 23, 2015 - 13:33
bing09
I'm looking for the code that takes the search query and folds text not in query but leaves the headers. This would be for Taskpaper docs. T...
Aug 23, 2015 - 11:48
Phuket2
[VirtualView Gist](https://gist.github.com/63cf6c987607908975b7)
Still working on the VirtualView :) even, if no one ever uses it other tha...
Aug 23, 2015 - 11:05
JonB
not sure if these are new or not... all related to autocompletion after an equal sign if there is not a space after the =:
1) pressing a si...
I would like to modify the built in Cards.py game to display a series of Chinese characters rather than the animal pictures. I have successf...
I wanted to ask if it was possible to update the paramiko module, as the installed version (1.13.0) has [problems](http://www.randomhacks.co...
Aug 22, 2015 - 13:42
Phuket2
Does anyone know if it's possible to programmatically control the scrollview's scrolling in the same way you can do with your finger. If pos...
Aug 22, 2015 - 13:26
Phuket2
With my scrolling VirtualView, I wanted to create a stress test for it. I didn't want to insert the stress test code into my class. So I cr...
Aug 22, 2015 - 12:35
momorprods
I noticed a small issue with UI in build 160032: button images are not displayed, even after a new selection in the editor.
Also: while the...
There are two different code bases called DropboxSync.
When the Dropbox module was first released in Pythonista v1.2, @wrenoud released a D...
Aug 22, 2015 - 02:20
techteej
Anyone here know a thing or two about Google Apps script? Almost done a project I can't quite figure out how to complete and no one has gott...
I am new to git. I have a query on git.
In p4 we can check the latest changes submitted directly from the repository using
p4 changes -m 3 /...
Aug 21, 2015 - 08:17
momorprods
Hey guys,
So I'm now converting my projects to the 1.6 beta, which works great for my needs (thanks again @omz for the SceneView fix).
My ...
Aug 20, 2015 - 22:20
TutorialDoctor
I have three files (html,css,javascript). When I update the **javascript that is embedded in the html file**, the preview doesn't update the...
Aug 20, 2015 - 20:54
MartinPacker
Something I'm going to prototype might well run in Pythonista, or Editorial, or Sublime Text.
If Editorial it probably wants the current do...
Aug 20, 2015 - 20:19
nixterrimus
In the most recent beta, I'm seeing errors where `canvas` is not defined.
This program:
```python
#Draw a red circle filling the entire ca...
Aug 20, 2015 - 18:15
JonB
i find the new share sheet style of action menu to be much less functional than the old pop up menu. a vertical menu makes much more sense ...
Aug 20, 2015 - 17:34
Phuket2
@omz, I think a great addition to the editor would be a 'set point' function. Sorry I can't remember the right term. But my meaning is if yo...
Aug 20, 2015 - 16:13
Pythonistapro777
In the RPS game, I will be recording the number of times they win/draw before losing.
Here's the code:
```
# coding: utf-8
from scene impor...
Aug 19, 2015 - 15:15
MartinPacker
I had a recent need to extract some information from some XML - and didn't really want to write a program for it.
I could've done with an X...
Aug 19, 2015 - 01:53
techteej
Possible bug in latest beta, when resizing a .pyui file using one of the three presets on iPhone the app crashes.
Update: Also on iPad.
Aug 18, 2015 - 21:04
JonB
When working with ctypes/objc_util, I crash a lot. When reopening pythonista, i often lose the state of the tabs (which files are open, whi...
Aug 18, 2015 - 18:50
StrugglingWriter
Can this forum be enabled with two finger zoom? The text is really small on the iPad, so I'm forced to use accessibility zoom to read anythi...
Aug 18, 2015 - 18:45
StrugglingWriter
First of all, thank you for this app! Simply put, it's just incredible! It's too bad I purchased a bunch of other apps before finding this g...