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!
May 13, 2020 - 22:44
TheGreatSquid
I was wondering if there are any known plans of updating the built-ins like NumPy, which I believe is on 1.8, while the most up-to-date vers...
May 13, 2020 - 14:19
stephen
Any chance anyone knowsvhow i can do one of the following?
- access to rotation lock setting
- force rotation programmatically
i use iPad ...
May 13, 2020 - 10:30
pavlinb
Is there a away to crop ui.Image ? I need to avoid converting to PIL image and back to ui.Image.
Thanks.
May 13, 2020 - 07:04
mcriley821
I’ve been working on a ui project, and I’m trying to get a subview to show up similar to the console.alert(). Like how the alert pops-up and...
May 13, 2020 - 03:42
samaklis
Is there a way to check if the iPhone, iPad is in dark or light mode? The ui.get_ui_style() seems to only be querying the Pythonista app mod...
May 12, 2020 - 13:49
stephen
[Files](https://github.com/StephenFrey/CookBook/tree/master/Pythonista/GameDevelopment/Tutorial_Set/Episode%2003)
Space Escape Episode 03
=...
May 12, 2020 - 05:08
Bumbo Cactoni
How do I edit a file while seeing what I'm editing, using python? Kinda like a text editor.
May 11, 2020 - 15:40
dxfong
I'm using Pythonista with iPad pro,it's great.but when I using Chinese keyboard to input code and press tab key ,the app will crash. So it's...
May 11, 2020 - 14:53
yash
Plz help me out how to make folder in pythonista and use open function to read and write
May 10, 2020 - 07:35
DaricLiu
Click the Home Icon got a message Not Found -- The file "Example/User Interface/Examples/User Interface/Calculator.py" could not be found.
A...
May 09, 2020 - 19:41
stephen
[Files](https://github.com/StephenFrey/CookBook/tree/master/Pythonista/GameDevelopment/Tutorial_Set/Episode%2002)
Space Escape Episode 02
...
May 09, 2020 - 14:15
karishmaagarwal
I am following this process to create a YAML build pipeline for a .NET Core Web API project:
https://docs.microsoft.com/en-us/azure/devops/...
May 09, 2020 - 09:43
Roscoe
Hi, I am new to python with some coding experience. I am trying to write a Pythonista script to read excel data from two columns and plot on...
May 09, 2020 - 03:13
stephen
[Files](https://github.com/StephenFrey/CookBook/tree/master/Pythonista/GameDevelopment/Tutorial_Set)
Space Escape Introduction
===
In thi...
May 09, 2020 - 03:10
stephen
[Files](https://github.com/StephenFrey/CookBook/tree/master/Pythonista/GameDevelopment/Tutorial_Set/Episode_01)
Space Escape Episode 01
==...
May 08, 2020 - 00:19
BapeHiks
Hello, I have a problem with the widget, it does not work and the most interesting thing is that the file is not saved in the widget setting...
May 08, 2020 - 00:16
shinyformica
So I'm noticing a couple things which are related to the way theming and control appearance works in pythonista 3.3 on iOS 13.
First: using...
May 07, 2020 - 22:17
crazyfox
Hi all-
I’m trying to present a popover triggered by a button in a TableViewCell.
My underlying table is a TreeNode (from File Picker) an...
May 06, 2020 - 23:58
shinyformica
So I used to be able to do one of these two tricks to find the console text view in Pythonista 3.2 and grab the text out of it...
Search th...
May 06, 2020 - 20:50
robStacks
How can i prefill a textfield with strings and variables combined?
This code gets me an expected string error:
```
if delta.degrees < 0:
...
May 06, 2020 - 05:17
namonaki
When there is an error, the dialog box pops up with the pythonista version of the traceback messages. How do I change that text color? If it...
May 05, 2020 - 20:14
avinashsah
How to define undo function in Pythonista
May 05, 2020 - 13:56
PrinceValiant
I am brand new to python and my first project that I wanted to try was to automate a swiping feature but I have no idea how to do this. Is ...
I'm looking a way to merge the video and audio files downloaded with youtube-dl (All using Pythonista, obviously.)
Has anyone done this?
I...
May 04, 2020 - 18:57
MrKingDice
Hello I have a project to write a python script to check who I am following that not follow me back, I search the instagram API on github pa...
May 03, 2020 - 16:20
smarteepantz
Is there a way to copy a file in the Pythonista app UI? I can see how to copy a file in the share sheet, but can't figure out how to paste ...
May 02, 2020 - 20:14
Drizzel
Since I have absolutely no clue how I caused this error, the following will be rather unspecific, my apologies
So I have a very modified ta...
May 02, 2020 - 14:25
stephen
@mikael @cvp @ccc
Heres a demo of the pen i mentioned on [this](https://forum.omz-software.com/topic/6335/stylus-pen-for-ipad-air-2/9) pos...
May 02, 2020 - 09:58
Temjinck
Hi, I'm trying to get the ability to have the iOS (on phone as example) to automatically detect an incoming push notification (remote notifi...
May 02, 2020 - 00:34
robStacks
Hi all,
I am having a hard time implementing law of cosines in a polar plot.
Want to get the values of and print distance & beharing from b...
May 01, 2020 - 22:00
shinyformica
Hey all you Pythonisters, I just upgraded one of my devices to Pythonista 3.3 to test what has changed or broken from 3.2 in my project.
Th...
May 01, 2020 - 02:06
stephen
Report said:
>The app was terminated due to an Objective-C exception. Details below:
>
>2020-04-30 08:45:32.339467
>-[UIImageView _resolveAn...
```
import ui
from objc_util import *
v = ui.View()
def b_action(sender):
print(sender)
b = ui.ButtonItem()
b.action = b_action
# set a...
Apr 28, 2020 - 17:21
mieq
Hello,I want to make a dark mode for my view. But how can I change the disclosure_indicator color in TableViewCell? Thank you!

Apr 24, 2020 - 21:14
stephen
Here is a little game to help new develpoers to game design get started. there is a tutorial in exmples but its very minimal and doesnt give...
Apr 24, 2020 - 11:58
Hameed
Hi,
I am running a python code in the Pythonista app to see all nearby visible Bluetooth devices and get their UUIDs. But I am unable to see...
Apr 23, 2020 - 21:39
robertiii
I am presenting a view as a popover. I want to resize the popover and add a tableview. The problem is not adding a tableview but how to go a...
Apr 23, 2020 - 16:52
Bumbo Cactoni
Help! I need help thinking of python projects I can do. I’m not very good at thinking of projects. I’m not looking for super advanced projec...
Apr 23, 2020 - 03:18
zinc
Information on this is scant, but I figured out how to create an IOS13.4 shortcut to run a script in pythonista. But when the script is do...
Apr 22, 2020 - 23:21
zinc
Got a tableview working just fine, displays the data and allows selection of any given row.
Next, I've been searching for some kind of a...
Apr 22, 2020 - 18:57
robertiii
I found this code somewhere on the internet heehee.
```
def menuButton(sender):
pv = ui.View()
pv.name = 'popover'
pv.frame = (0,0,200,2...