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!
Oct 15, 2021 - 14:34
rb
Hi Say I have a 2 colour image containing a number of rectangles.I would like to convert that image into an array of x,y cords at the corner...
Oct 08, 2021 - 10:04
810D
I tried opening and reading from a csv file with .readline() but it didn’t work. I searched it up on the internet, installed stash but sta...
Oct 07, 2021 - 00:26
shinyformica
Has anyone tried, or been able to make contact with Mr. Zorn (I think his name is Ole Zorn), the developer of Pythonista? I wish to respect...
Oct 03, 2021 - 14:58
kami
Hi, after updating to IOS 15 i get always a SSL: CERTIFICATE_VERIFY_FAILED error. with requests.Session() as s: r= s.get('https:/...
Oct 03, 2021 - 14:40
Elian60
I'd like know how is the book for study how do an application with PyObjC. In internet and on the books of Python I don't see how is possibl...
Oct 02, 2021 - 14:14
cvp
``` # from IOS 15, photos.pick_image does not work anymore #i = photos.pick_image() assets = photos.get_assets() asset = photos.pick_asset(a...
Sep 30, 2021 - 22:51
cvp
@ccc thanks for the advice
Sep 29, 2021 - 19:59
WyldKard
Since updating to iOS 15, Shortcuts crashes when I try to add Pythonista's "Run Script" action. A reboot of the device did not fix the probl...
Sep 24, 2021 - 10:53
kaan191
Hi everyone, I love everything about Pythonista on my iPad - it's where I'm most productive; so much so that I dread having to spin up the ...
Sep 21, 2021 - 20:43
sgspecker
Is there a way to get and set captions on Photos using Pythonista? I didn't see a property listed in the Photos module API. Hopefully, I j...
Sep 20, 2021 - 14:23
warnerson
The task-related to [filter out dealership on Facebook marketplace](https://www.monktech.us/blog/filter-out-dealerships-on-facebook-marketpl...
Sep 18, 2021 - 22:14
eli_sherwood
Hello, I can not find any related posts about this or anything about this in the manual. How do you change the button text color?
Sep 13, 2021 - 21:19
oDuty
I am on my ipad and i just bought pythonista. I wanted to create something in turtle but i kept on getting the error: module ‘turtle’ has no...
Sep 13, 2021 - 17:55
Johanwikdahl
```python def animate(step, p, U): p_r = np.sqrt(p[0, :]**2 + p[1, :]**2) u_p = U + (K / (2*np.pi)) * p[0, :] / p_r**2 v_p = (K ...
Sep 13, 2021 - 01:44
a_cuppa
I am trying to install numdifftools library. On the python shell I've entered 'pip install numdifftools' however it is not working. How do I...
Sep 06, 2021 - 16:36
richwen
For my project, I need to use scipy, imreg_dft, imageio, numpy, etc. But when using "pip install scipy" Package scipy is blocklisted and m...
Sep 03, 2021 - 22:46
MichalOprendek
I have a script that should index whole Camera Roll (11k pictures) - it iterates the pictures and computes a hash of each. After around 1300...
Sep 01, 2021 - 20:17
frankL
how can I set the font size of segmented control titles? The font size it chooses is very small regardless of the number of tabs. I tried ...
Aug 31, 2021 - 15:13
MichalOprendek
Is there a way how to obtain original (heic) file, i. e. the same binary content as downloaded to computer via e. g. Microsoft Photos or upl...
Aug 30, 2021 - 23:28
ian
I'm building a script to read text files for todo tasks, and it seems as though the iOS Notes app doesn't have a file name when you hit the ...
Aug 30, 2021 - 19:27
sanmaoban
When I used the keyboard.get_input_context() function, I found that if I input a lot of Chinese characters (more than 5 Chinese characters) ...
Aug 30, 2021 - 03:56
eli_sherwood
Hello, I am having an issue in my code that has stumped me for a while. I want to be able to add labels to my view of varying length during...
Aug 29, 2021 - 18:29
Luxi
When I try to run this script and I have a print action in the update function it crashes after ~20 seconds of normal functioning. When I re...
Aug 29, 2021 - 05:10
ammarjmhor10
Hi everyone, I cannot read well my code in my iphone spcially when get bigger. how I could write script in my laptop in pycharm or any IDE ...
Aug 28, 2021 - 19:31
DavinE
Hello Guys, i have en other Idee for my app to do some inputs easier. My Picture look's like this: https://imgur.com/a/QKuykE7 is it possi...
Aug 27, 2021 - 21:28
AAnkeriasniemi
Hello What I’m trying to do is a console view for the ui. It wouldn’t be that nice for it to not scroll when something is printed out of th...
Aug 26, 2021 - 18:57
iosfanatic
Please can anyone provide an example how to install pipx on iPadOS/iOS Pythonista app?
Aug 26, 2021 - 18:42
badcoder
I have been working around to making things in python for a while now but it seems like something always pops up and gets in the way. Well I...
Aug 26, 2021 - 04:27
borrax
Here is a simple solitaire game I wrote. It uses the Unicode playing card characters, so it won’t work on older devices that can’t display t...
Aug 24, 2021 - 13:30
AFewMistakesAgo
Hi All, I’m wondering if Pythonista is able to access the local file system on my iPad? I have an application which has stored files that ...
Aug 22, 2021 - 05:44
borrax
I wrote a simple solitaire game, everything works, but I would like to include a reset button. My first attempt failed, simply calling run()...
Aug 20, 2021 - 21:20
DavinE
Hello Guys, i Have a Question about the file-picker. my file-picker get an input over a dict like that: `{'Kunden Übersicht': ['01_Beschre...
Aug 18, 2021 - 01:34
ilikepython
Hello, this is my first post, and I am new to the scene library, I don’t know how to add border colors nor know how to change the border siz...
Aug 17, 2021 - 10:26
Lami
I want to run Asyncio from the UI button, but I get the error "there is no current event loop in thread 'dummy -1'" and cannot run it. Is th...
Aug 16, 2021 - 14:17
mazzeppa
Hello there, I am beginner to Python. I just installed Pythonista on my Ipad. In my desktop, I have no difficulties to connect my python sc...
Aug 13, 2021 - 21:24
console
When does iPadOS suspend floating Slide Over apps swiped out of view?
Aug 13, 2021 - 21:21
console
How do you run a command on the console interactive prompt? Pressing return adds a new line.
Aug 12, 2021 - 19:20
cvp
Quick and dirty, as usual, but to be tried anyway ``` from objc_util import * import ui import console import ui from objc_util import * i...
Aug 09, 2021 - 21:44
DavinE
Hello guys, P.S.: I know it has nothing to do with Pythonista, but I need your help I‘ve got an Dict problem and the german Python-Forum ...
Aug 08, 2021 - 12:37
momorprods
Greetings, I’m currently experimenting CoreML using the template @omz made some while ago. I’m trying to run the DeepLabV3 model, which retu...
Aug 08, 2021 - 09:13
Katterfelto
I’ve just started to play with Pythonista. Is it possible to create a pyui file and the use it populate a custom view? I can only find exam...
Aug 07, 2021 - 19:58
DavinE
Hey guys, i have a weird problem with an TableView.... when my view on an iPhone or iPad is "full" i need scrolling to see more of my stuf...
Aug 06, 2021 - 03:55
coltonboyd
Going to try and get some thoughts from you all here in the forums. I was thinking about creating a game in Pythonista. Would there be an...
Aug 02, 2021 - 20:53
eli_sherwood
Hello! I am experiencing an issue inside of an application I built that is really annoying me. I want to add a label to an already presente...
Aug 01, 2021 - 13:54
DavinE
Hello Guys, I have a problem with my function... i hope anyone can help my out. this is my sample code: ``` def generatePDF(self, data, c...
Jul 30, 2021 - 14:48
Luximonsti1337
Today I tried making a widget, but I can’t change the today widget. When I try to change it it always goes back to the Calculator.py example...
Jul 27, 2021 - 12:17
cvp
If you try to access a Pythonista iCloud file when it is not yet downloaded on your local device, you get an access error. You can force a...
Jul 26, 2021 - 01:16
samsonantony
Hi, I want to run the camera in slow motion mode for a specific time and output need to uploaded to any cloud. Anyone knows about it?
Jul 20, 2021 - 10:00
Tessie Swift
What resistors values would I need in a [2N3904](https://www.utmel.com/components/2n3904-npn-transistor-pinout-datasheet-and-circuit?id=150)...
Jul 19, 2021 - 17:01
Moltastro
Most professional IDEs nowadays have the option to edit multiple lines simultaneously through placing cursors where you want to edit. This c...