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!
Nov 02, 2016 - 20:16
stef728384
Hi, I am trying to install psycopg2 but get the following error.
Any ideas?
Thanks
Stef
[~/Documents]$ pip install psycopg2
Querying PyPI .....
Nov 02, 2016 - 18:12
Kangaroo
This is my program:
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111,...
Nov 02, 2016 - 14:01
Phuket2
@JonB , sorry but this question is mainly directed to you. If anyone else can answer, thank you.
But the code below loads a UIFile/pyui file...
Nov 01, 2016 - 16:02
dendrites
It’d be nice if you could favorite deeply nested Dropbox folders in Editorial for easier access (and e.g. make them accessible from the top ...
Nov 01, 2016 - 08:16
stef728384
Hi,
When I import flask I get the error below. I had this before and resolved it by reinstalling pythonista. After reinstalling I can import...
Nov 01, 2016 - 01:50
henryaukc
Hi All,
I am very new to python and to Pythonista for iOS. I would like to ask if it is possible to write an extension script which parse t...
Nov 01, 2016 - 00:53
motnoslo
I'm very new to Pythonista and was looking for advice for sharing scripts between devices. For example, saving to and importing from Google ...
Oct 31, 2016 - 18:14
mason
Hey there, so I see that Pythonista has no access to SciPy which was the only way I knew how to do a non-linear curve fit in python. Do any ...
Oct 30, 2016 - 01:11
rcherny
There's something I'd like to do using the http features and the embedded browser, but the remote web-app in question won't let me because t...
Oct 29, 2016 - 21:32
amharder
Hello everyone!
I need your help with a chess game that I am making. I think that with enough time and unpythonic programming, I can make th...
Oct 29, 2016 - 10:57
jmv38
Is there some way to access each picture of a video, one by one?
And to write it back into a video asset?
ObjC utils maybe have such capabil...
Oct 28, 2016 - 21:50
amharder
I'm sorry I have so many questions lol, I am sort of new to programming, but here is my question. When you use Action to move a node, for ex...
Oct 28, 2016 - 20:07
jmv38
i cant find how to use built in icons into ui buttons. Can anyone give me a link? (must be obvious, sorry).
Thanks
Oct 28, 2016 - 16:07
Trizard
Hello,
I'm trying to query a NSError object returned from on an AVFoundation call by reference.
The ObjectiveC Definition is
+ (instancetyp...
Oct 28, 2016 - 12:27
PINEHACKS
If possible could I get any help with getting sound to work and having a way to list Apple Music songs and choose one to play, plz.
Oct 28, 2016 - 08:57
goldenretrieume
**THIS QUESTION HAS BEEN SOLVED**
I want to capture all input from keyboard (including SHIFH, ALT, COMMAND and ARROW keys) in my app. Is th...
Oct 28, 2016 - 01:33
PINEHACKS
I have some python prime number code which finds out prime numbers. I was looking for a way to make it more efficient as this currently chec...
Oct 27, 2016 - 20:40
xzxzxc
Hi, guys!
I need resizable and movable view for my program, maybe someone knows an example and can share it.
Thanks in advance! :)
Oct 27, 2016 - 18:47
amharder
I am trying to make chess, I can draw the image of the unicode king chess piece with this code:
```
from scene import *
class example(Scene)...
Oct 26, 2016 - 19:38
Jeff_Burch
Matplotlib animation. I understand that Pythonista doesn't support the matplotlib animation APIs. Are there any work-arounds?
I have an IOT...
Oct 26, 2016 - 18:58
amharder
I am trying to use scene_drawing to create a chessboard, and it is not going well at all, no matter what coordinates I put in for each squar...
Oct 26, 2016 - 15:42
jcallum
Hi -
I am looking for an example of code to read/get text from a textfield using the ui module. I have tried a number of things but can't se...
Oct 25, 2016 - 22:34
jakal
after ios10 update(iphone6), pythonista seems to be terminated in case of importing matplotlib.
#========test==================
import matp...
Oct 25, 2016 - 20:55
domiriel
There is an option to change the font in the editor. Is there a way to change the font in the console? Programmatically I can do console.set...
Oct 25, 2016 - 19:48
pat31700
To send any file to Pythonista, select sahre and "Run Pythonista Script"
Then use this script below in Pythonista (you need to add it as a...
Oct 25, 2016 - 16:08
PLEaglefly
Such a feature?, I did not find,i need Transfer the code.
like qpython qrcode or other...
Oct 24, 2016 - 00:31
TaaviTamkivi
Hey, I'm trying to get scripts from my github repository into pythonista to run them from my iOS. I've installed the CodeHub and Pythonista ...
Oct 23, 2016 - 22:42
newtoonie
Is there a way to access the iPad's microphone with objc_util or any other module?
(I really just want to obtain the loudness that the micr...
Oct 23, 2016 - 18:08
ramvee
Hi,
I am struggling with a very silly doubt whole afternoon. I am making a beginner's mistake, as I am not able to update the text field w...
Oct 23, 2016 - 13:52
Kangaroo
I got a file of 100 line, each line contains 5 elements such as
Aberdeen,City,189120,57.14369,-2.09814
Corresponse to places,type,populati...
Oct 23, 2016 - 01:42
Kangaroo
import matplotlib.pyplot as plt;
x = [ ];
y = [ ];
readFile = open('xy.txt','r');
for line in readFile:
# file is open with a line in v...
Oct 22, 2016 - 23:33
jmv38
I had some difficulties to copy forum code from the ipad. This makes it simpler
~~~
'''Snippet to copy forum code easily
1/ copy the message...
Oct 22, 2016 - 21:23
JonB
Obviously a work in progress... but I mostly like how it behaves.
https://gist.github.com/2d9e24f31f471f629d56912ead624538
 t...
Oct 20, 2016 - 06:22
ramvee
Hi,
Finally getting to learn TableView element in UI module, which can involve ListDataSource (easier) or TableView.data_source which is use...
Oct 20, 2016 - 00:11
heliophagus
Greetings. I need to allow the users of my app to choose one item from a list of about 50 text items (column names in an np matrix, loaded i...
Oct 19, 2016 - 23:02
london_gambler
Hi, I was wondering whether there is a way to install networkx (which is a package on pypi) or how to install other packages in general. I a...
Oct 19, 2016 - 05:11
mrcoxall
I am using the scene module to make a game. When I hit a button, I have a missile moving up the screen. When it goes off the screen, I would...
Oct 18, 2016 - 09:29
MartinPacker
Those of you who use Workflow know it can handle images.
Any idea how a Pythonista "stage" in the pipeline might pass an image back?
Oct 17, 2016 - 21:17
mrcoxall
I know there are better ways to do this, I am just wanting to do this as an example.
I want to take an image view and rotate through severa...
Oct 17, 2016 - 16:17
lukaskollmer
It'd be awesome to have a `ui.PageView` component in the `ui` module.
A `UIPageViewController` is a View Controller that lets you swipe b...
Oct 17, 2016 - 16:03
naturale
Recently, I installed `nltk` with StaSh to do some natural language stuffs.
I wrote a python 2 script with pythonista, which works from iOS...
Oct 17, 2016 - 08:53
jmv38
Hello there!
I've just upgraded to pynthonista3. I want to duplicate some of my old files and directories from the pythonista2 to other di...
Oct 16, 2016 - 20:36
procryon
Hello all, I have a simple question.
```
x="Jump Up"
```
How would I see if first the word Jump is in the string and then see if the word U...
If you use pick_asset then get_image on a screenshot, you get an AttributeError in _getexif function of PIL module, while you don't get this...
Oct 16, 2016 - 16:46
EggerDaniel
I just discovered that the turtle module is also supported in the app.
I discovered an old book in the library [Turtle Geometry](https://ww...
Oct 16, 2016 - 08:58
mikael
What would be your recommended way of handling the following use case, specifically in Pythonista UI module context:
User is busily typing ...