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 18, 2015 - 18:14
ywangd
I have a subclass of the builtin `ui.TextView` and it is created via the awesome `objc_util` tools. It does have many great features. I am s...
```python
import ui ; print('load_view' in dir(ui))
```
Aug 18, 2015 - 10:33
georg.viehoever
I Would like to have a Button that Resets the Python Interpreter into the State that it has when the Application is launched . Use Case: whe...
Aug 18, 2015 - 04:19
techteej
So I know this is pretty basic, but haven't found anything to really help me and I've exhausted my options to either get an error or a None ...
Aug 18, 2015 - 03:14
techteej
Correct me if I'm wrong, but didn't there used to be documentation on the Twitter module? Went to reference it today and couldn't find it.
...
Aug 17, 2015 - 22:09
Pythonistapro777
Help wth None glitch. Whenever I click a button (rock, paper or scissors) it's meant to change the self.player; self.ruling and self.compute...
Aug 17, 2015 - 20:46
MartinPacker
I doubt I'm the only Editorial user who has Sublime Text (on Linux and OS X).
Has anyone looked into building a "shim" to enable a common p...
Aug 17, 2015 - 20:06
filippocld
I was trying to implement a document picker in Pythonista with objc_util ( you know i love this module xD) but i have a problem:
When i have...
Aug 17, 2015 - 18:54
georg.viehoever
When I have a traceback, I only see something like `ValueError: .... . Traceback: config.py line 661: ...` . I dont see which config.py on ...
Aug 17, 2015 - 18:06
Randy
Hello!
Thanks for Editorial!
## There is a little issue I am concerned with:
* Dropbox Sync does not work properly: --> In about 50% of th...
Aug 17, 2015 - 17:14
georg.viehoever
instead of producing something like 'iOS'.
Georg
Aug 17, 2015 - 13:38
Phuket2
Guys, would it be a correct assertion to say that it's not possible to get touch events from a scrollview?
Aug 17, 2015 - 11:24
Phuket2
https://gist.github.com/049488b7584d47bf7ace
Sometime ago, @omz gave me some code as a starting point for making a virtual view. I basicall...
Aug 17, 2015 - 10:38
Acky
I ran into a problem with the action "Open x-callback URL". This happens if you want to send the (escaped) text of a document to another app...
Aug 17, 2015 - 10:34
Phuket2
Is there away to determine the version of Pythonista in code. I have a feeling there is not. I did what I remember seeing @omz do once. Try...
Aug 17, 2015 - 02:13
ywangd
I noticed that in Pythonista Editor, the **Tab** key is now able to perform auto-completion. This feature supports both the on-screen and ex...
Aug 16, 2015 - 22:23
georg.viehoever
Pythonista has a couple of problems because all executables share a common interpreter (for instance, they all share sys.path). From looking...
Aug 16, 2015 - 21:13
momorprods
Greetings,
I have a critical issue with the SceneView on the newest beta. Here is a test script, it crashes Pythonista upon running. Is th...
Hello all!
So I've tried to make use of MFi controllers with Pythonista, however I can't get it to trigger a ```
'GCControllerDidConnectNot...
Aug 16, 2015 - 14:15
Phuket2
@omz
Given some of the complex issues you must be dealing with. I am sure this is tick on the back side of a Camels as*.
But I will still...
Aug 16, 2015 - 12:17
Tizzy
So I have some behavior to report. I thought it would be interesting to put the Xcode template into a dropbox folder that I sync using the d...
Aug 15, 2015 - 22:11
eric
I am trying to put my scene in a CustomView using the ui editor.
I created a CustomView
I set the Custom View Class to SceneView
Gave it a ...
Aug 15, 2015 - 20:03
donnieh
If I choose '<system>' font for a text field, I can change the font size just fine, for example:
```
self.tf.font = ('<system>', 20) #works...
Aug 15, 2015 - 18:35
fotopierke
Hello,
When I use multiple selection in the action "Select from list", the output only shows the first selected line. Am I missing somethin...
Aug 15, 2015 - 18:28
Phuket2
@omz , some things I have noticed,
1. Unless 1.6 works differently with flex at runtime, there seems to be a problem. I am setting a scroll...
Aug 15, 2015 - 15:02
Phuket2
@omz, I am not trying to be a smart as*. But, do you have an approximate delivery date for 1.6 or whatever the release name will be. I can ...
Aug 15, 2015 - 10:32
Phuket2
Just interested if any code or comment folding is supported in the 1.6 code editor. I heard about the multiple open code tabs, which sounds ...
Aug 15, 2015 - 08:14
Cethric
I am working on OpenGLES bindings for pythonista and I keep having argument errors appear.
Here is the function raising the error
```
glShad...
Aug 15, 2015 - 07:29
JonB
not sure if this appeared in ios8, or the beta... but double space now inserts a period. i have that setting enabled in the settings app, b...
Aug 15, 2015 - 04:42
donnieh
If I have some simple code that displays "hello world" in a label with a button push, we know that that text will remain there. Normally if ...
Aug 14, 2015 - 19:26
janaaron18
Hi all!
I have made a program, but am having problems. I want to make a dictionary that posts a photo of the thing you searched for, but r...
Aug 14, 2015 - 18:25
Phuket2
@omz, I know you are busy, but I have sort of mentioned this before, but not as a topic on its own. But the layout callback method when you ...
Aug 14, 2015 - 18:15
userista
if possible I would like to request `vibrate` module - would be nice for games etc.
Aug 14, 2015 - 17:58
userista
Are there any plans to add TouchID support; perhaps via the `keychain` module?
Aug 14, 2015 - 17:03
Phuket2
@ccc mentioned this link in a post the other day.
http://docs.quantifiedcode.com/python-anti-patterns/
I could see some people took excepti...
Aug 14, 2015 - 15:41
dgelessus
I'm following the forum through the RSS feed (https://forum.omz-software.com/recent.rss) but it seems that many posts don't actually appear ...
Aug 14, 2015 - 02:02
userista
Is it still possible to do an import from the same directory?
E.g.
foo
...bar.py
..._init_.py
baz.py
And in baz.py: `from foo import bar`...
Aug 13, 2015 - 21:51
userista
```
import requests
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/mobile/Containers/Bundle/...
Aug 13, 2015 - 19:02
Phuket2
I think it would be nice if the view counter for a post didn't increment when you are viewing a post you authored. Of course we look at our ...
Aug 13, 2015 - 18:48
Phuket2
I am still working on this virtual container :) but rather than create and return a view now, I create a cell class that inherits from ui.Vi...
Aug 13, 2015 - 17:01
JonB
as an example
```
v=ui.View()
vo=ObjCInstance(v)
v.frame()
```
what is strange is that i am pretty sure that i have called other methods...
Aug 13, 2015 - 16:33
Pythonistapro777
Please help with attribute error that pops up when the code is run.
Thanks in advance!
Here's the code:
```
# coding: utf-8
from scene im...
Aug 13, 2015 - 14:34
novaa
جنرال اليكتريك افضل حمايه 01096922100 # 35682820 صيانه ممتازه
Aug 13, 2015 - 12:26
Pythonistapro777
Making a relatively simple rock, paper scissors game. Please help with the global error that pops up when the code is run.
Thanks in advanc...
Aug 13, 2015 - 08:22
JonB
in console:
```
import matplotlib.
```
then select matplotlib.pyplot from the dropdown results in
```
import matplotlib.matplotlib.pyplot...
Aug 13, 2015 - 07:54
userista
Weird bug - the **second** time I run this script Pythonista freezes and hangs until it crashes. (Try to run it twice in a row.)
```python...
Aug 13, 2015 - 00:31
KlMa
I am not able to get matplotlib style sheets to work in Pythonista. Any tips?
[http://matplotlib.org/examples/style_sheets/plot_ggplot.html]...
Aug 12, 2015 - 11:44
ywangd
Following simple UI code does not function properly in current beta build 160024. The `will_close` method is not called when closing the UI ...
Aug 11, 2015 - 23:38
johnwhitley
I've been loving Editorial's Taskpaper support, and recently had the thought that a very nice alternative/complement to that would be suppor...
Aug 11, 2015 - 17:18
Pythonistapro777
So, I'm making a much simpler tic tac toe game, the ones on here are too complicated :P. When you run the game you will see the tic tac toe ...