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 05, 2020 - 10:48
A B C
is it possible to run pythonista scripts to a application on apple products i want to be able to run it outside the pythonista editor
Nov 04, 2020 - 11:46
A B C
With python 3 and with the pyautogui library i can search for a certain spot on my screen. i would make a screenshot and it would find that...
Nov 02, 2020 - 23:05
lon2
Hi,If I click on the button to choose a file from a web page through the ui.webview component, the gui closes and no error is displayed nor ...
Nov 02, 2020 - 22:21
Killerburns
Hey guys, I’am quite new to pythonista and i already love it. Everything is well documented and there is a thread for everything you need in...
Nov 01, 2020 - 21:47
abusoru2002
![photo](https://upload.cc/i1/2020/11/02/KQrXVf.jpeg) iphone os13.6
Nov 01, 2020 - 21:21
avonlady
Hi, I was wondering if it is possible to use `objc_util` to extract depth map from Portrait Photos. Apple has some official [code samples](...
Nov 01, 2020 - 21:11
avonlady
Hi, I saw somewhat similar discussion [here](https://forum.omz-software.com/topic/6498/importing-from-dynamic-library-written-in-c), but no...
Nov 01, 2020 - 17:48
DavinE
Hello Guys, I have a Question.. Is it Possible to remove an set_menu Setting form Button ? and after that to use the Button.action Functio...
Nov 01, 2020 - 11:21
resserone13
I’m trying to generate random x and y coordinates for a spritenode with scene. ``` from scene import * import sound import random import m...
Nov 01, 2020 - 09:06
resserone13
Having trouble center ing a simple rectangle on the screen ``` from scene import * import sound import random import math A = Action #scr...
Oct 29, 2020 - 21:30
mikael
A wrapper around the button UIMenu introduced in iOS 14. ### Installation pip install ui3 ### Usage Simplest way to set it up is...
Oct 29, 2020 - 09:37
kami
Hi, i have a working script for opening and resizing Image from my local photo storage. Like this: ``` asset = photos.get_asset_wi...
Oct 28, 2020 - 20:55
DavinE
@mikael it seems that size_to_fit takes no effect on a TextField.. ? is it an Bug ? the height don't changes Sample Code: ``` createCustome...
Oct 28, 2020 - 05:11
mcriley821
I'm doing a project with `ui` and `objc_util` (typical). I'm getting this strange behavior when overriding a `ui.TextView`'s gestures; the g...
Oct 28, 2020 - 03:33
peiriannydd
I get a complaint of a syntax error when I try replaced = re.sub(ru'anā\B', u'nā', s) It is complaining about the ru together. This syntax d...
Oct 28, 2020 - 01:38
8plusZero
I'm using Siri shortcut to set wifi off.But Siri shortcut have some problems. So I want to use Pythonista to implement.
Oct 27, 2020 - 19:27
Enez Houad
I’ve not been using Pythonista for a long time, ios version have changed and now I have some problems with my scripts : The first is that my...
Oct 27, 2020 - 03:18
ihf
I have several shortcuts which use the Run Pythonista Script action and they run fine on my iPhone. However if I try to launch them using th...
Oct 25, 2020 - 22:29
DavinE
Hey Guys, I have an Problem with my ScrollView in Combination with anchors.. This is my Code Example: ``` l1 = size_to_fit(ui.Label(name=...
Oct 23, 2020 - 20:45
robStacks
Need some help with access to BLE services & characteristics with the Hexiwear dev platformpje !? ``` from __future__ import print_function...
Oct 21, 2020 - 17:24
blindscubajr
Why isn’t this code working? Help plz👍 ``` username = input('Enter Username>>> ') if username == 'silas': print('Access granted') pr...
Oct 21, 2020 - 13:23
sodoku
Is it possible to make speech to text with pythonista to print to the console, Or also displaying it as a textsprite thingy
Oct 18, 2020 - 17:53
mikael
Does PyKeys support language-specific layouts, or do I need to hack my Scandinavian letters in myself?
Oct 18, 2020 - 16:43
DavinE
Hey Guys, I have this code Example: ``` import ui from anchors import SafeAreaView, dock, At, at, size_to_fit, flow from objc_util import ...
Oct 16, 2020 - 09:20
sodoku
I have a question about a list of strings Say I got a list like ``` a=[‘Haloween’, ‘Boom’, ‘hi’, ‘Howl’, ‘if’, ‘ghosts’] ``` How do you s...
Oct 16, 2020 - 05:03
resserone13
Is there a way I can have an attribute from one class received the value of an attribute from another class?
Oct 14, 2020 - 20:50
deloriel42
after finding the right way to install py3 libraries with stash properly, I am still running in this weird import error in the python-pptx l...
Oct 14, 2020 - 01:01
aloof
Hi I’m trying to render a triangle using metal kit but I’m very new to working with the objc_util module and I’m not sure if I’m going about...
Oct 13, 2020 - 23:03
grahampcharles
There is a bug in arrow key handling that causes the insertion point to jump to the end of document when up or down arrow is pressed on an e...
Oct 13, 2020 - 12:01
resserone13
How can I print the object and not the memory location to my list. I also added a patient Id generator to generator a patient records number...
Oct 13, 2020 - 06:07
deloriel42
Hi Pythonistas, I have a comprehensive question to the inner workings of stash related to the double interpreter (Python 2.x and Python 3.x...
Oct 13, 2020 - 04:17
thankim6
rất nhiều màu áo lớp hot nhất lúc này vẫn “làm mưa làm gió” bên trên cộng đồng đã được update. Mọi người cũng đang tìm kiếm số đông màu sắc ...
Oct 13, 2020 - 00:15
ihf
Has the method for adding a script as a home screen icon changed in ios14? I have not been able to get it to work but perhaps I am forgettin...
Oct 11, 2020 - 14:57
Simplemathic
I have to write a program that expects numbers separated by tabs (‘\t’) as its input. I tried to Create an input like this in Pythonista usi...
Oct 11, 2020 - 11:36
resserone13
I’ve been haven’t trouble adding the patient to a list when the object is created. ``` master_patient_list = [] current_patient_list = [] ...
Oct 11, 2020 - 06:08
kiplet
I am using ios14 and every time I open a shortcut to an app it opens the Shortcuts app and then the other app. I used the Shortcuts app to c...
Oct 10, 2020 - 12:40
JonB
GitHub has been sending threatening emails for months about the retirement of insecure password methods, and it looks like they have finally...
Oct 09, 2020 - 03:03
IetyAnxed
I've created multiple-file projects including classes and user interfaces that I use with my job. I thought that putting the source on iClou...
Oct 08, 2020 - 23:12
Minatory
I am trying to build a custom ray renderer in Pythonista, using canvas as a buffer to draw pixels on the screen. It’s probably not the best ...
Oct 07, 2020 - 21:20
DavinE
Hello Guys, I have an Problem with my view on different devices... i used fix position with calculator to get it better but it looks not re...
Oct 07, 2020 - 19:20
DavinE
Hey Guys, i have some Problems when i change the font size in my IOS Settings any Text is larger than it must... Is it Possible to change ...
Oct 07, 2020 - 15:10
animeshdhakal
How can I use flask run command in pythonista?
Oct 06, 2020 - 11:34
resserone13
When I print the master patient list it says name error. Why is it that I have trouble creating list inside of classes? ``` class Patient...
Oct 06, 2020 - 07:02
felciano
Hi — I’m trying to call Pythonista for the first time from a Shortcuts workflow. I understand that I should be able to call the Python code...
Oct 06, 2020 - 00:44
ryubai
hey~i need to return none in a objc new class function,but it crash’s when i use return none.how can i solve it? thanks very much. ```pytho...
Oct 05, 2020 - 11:46
priya2108
[b][url=https://www.prudential.com.sg/product/investment]investment linked plan[/url][/b] : An Investment Linked Policy (ILP) is a hybrid fi...
Oct 05, 2020 - 04:37
paultopia
A common task I have: I want to write down some numbers or a simple formula of some kind, and then go ahead and do something with the number...
Oct 02, 2020 - 14:31
samajkapoor
I used to prefer pythonista, because I thought it sounded more revolutionary. But then I realized it sounded like someone who writes scripts...
Oct 01, 2020 - 01:23
JeremyMH
How do I make a timer start to countdown with the click of a button? Here is an image of what I have so far. Im trying to make it so when yo...
Sep 30, 2020 - 19:16
nfmusician
I've got a project that involves highlighting a custom syntax I've created. The highlighting happens on `textview_did_change()` in the deleg...