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!
Jan 13, 2021 - 15:35
Python567
In a class I start a funktion with `__init__` why? I don‘t understand that really.
Jan 12, 2021 - 23:15
Niklas
Hi!
Is it possible to convert images from png or jpg format to webp or jpeg2000 in Pythonista? I have Googled and tested different ways but...
Jan 12, 2021 - 12:33
Python567
I want to design a text field for my simple calculator, so a textfield where I can write number in. I found that here https://omz-software.c...
Jan 11, 2021 - 13:52
resserone13
If I have a function that is a button action and the button action takes another function that requires parameters. How do I feed the parame...
Jan 08, 2021 - 18:18
coltonboyd
Hello all,
A few months ago I got a Pythonista 3 App Template to work and uploaded my game to the App Store successfully. Since then I've t...
Jan 06, 2021 - 16:52
Karina
Hey everyone
I’ve begun to write smth like air hockey and for now stuck cause the ball stays on its place but prints that the position is ch...
Jan 06, 2021 - 15:52
l736k
Hi there, I’m new to this tool and I’m wondering: is there a way to toggle sim state on or off?
Jan 06, 2021 - 13:59
Python567
I would to start a programm when I press a button. I import my programm and now I don‘t know how to start the programm (with classes in it)....
Jan 06, 2021 - 12:30
Python567
I want to be able to import another file and then run it in. For example:
I have a file with a print command in it. In my other file I want...
Jan 05, 2021 - 23:35
funnymanva
I have installed Stash and have a Python script I’ve used for a long time to download audio or audio/video from Youtube with the youtube_dl ...
Jan 05, 2021 - 19:20
felciano
Hi --
I'm trying to automate some data collection across various app-enabled activities (e.g. meditation) to a central Google Sheets spread...
Jan 05, 2021 - 15:50
Python567
I have a problem that I don‘t understand:
I have a class with follow in it:
self.cv = CourseView(game, frame=(buttonWidth, 0, (screenWidth...
Jan 05, 2021 - 13:33
Python567
Hello together,
I don‘t know how to make a menu with ui. The menu must start the game when I klick the button!
My Code:
```python
from sce...
Jan 04, 2021 - 22:30
olife
How to use Facebook API? I install via pip install Facebook-sdk, but donˋ t works. Thank. Regards Oliver
Jan 04, 2021 - 16:59
Old Blue Nose
Perhaps I am doing something wrong, but when I try to use triple quotes in a print function, get an error.
File "<string>", line 1
prin...
Jan 04, 2021 - 10:15
satsuki.kojima
I want to show some custom fonts in a font picker. I’m currently using ‘UIFontPickerViewController’ for listing fonts and I have installed s...
Jan 03, 2021 - 16:24
Theo
Hi guys, is there an easy way to clear the console in code in Phytonista? Is there a function? Something like:
If a == 2:
#clearconsole...
Dec 31, 2020 - 14:58
JohnAnderson
Typography is an art and technique of arranging letters to a given shape of meaning and creative design.
I am an ex-student of[ Arena Park S...
Dec 31, 2020 - 13:29
loupage
Hi,
New to this forum. I can’t seem to figure out how to add a url when creating a reminder. Any suggestions? A simple code snippet would...
Dec 31, 2020 - 05:16
Jasonthecoder
Hi guys im new to python and im want to start a project. I code on pythonista and i want to know how to get discord.py working on it. It kee...
Dec 29, 2020 - 17:27
trezor
I have written a little program that let’s the user enter his/her name and then draws a spiral with the name in four colors. The code works ...
Dec 29, 2020 - 10:49
mikael
Apple's UITableView seems poorly named, ListView would be more descriptive, and Apple's widgets miss an actual table view.
Here's a first i...
Dec 28, 2020 - 19:35
mikael
Some more constraint updates:
1. When you do not want the Apple standard 8 pt gap between two views, `at` and `dock` have a new `tight` pro...
Dec 25, 2020 - 20:41
Johnea
import math;
for i in range(1,int(math.log(1024)/math.log(2))):
print (2**i, end=' ')
‘’’why does this not work, and thank you’’’
Dec 25, 2020 - 14:48
tahti
Hi,
I am using to the sound.Recorder(file_path) function to record but it seems only to record from the phone microphone even if my headset ...
Dec 23, 2020 - 10:52
kahlbutz
Imagine a shortcut action which is normally run from a share sheet in Safari and accepts the content of the currently displayed page as form...
Dec 22, 2020 - 16:29
mikael
Added a constraint that updates the label height to fit the text when label width changes:
at(label).text_height = at(label).width
...
Dec 21, 2020 - 16:08
mikael
These days I am getting unsatisfactory results from `ui.measure_string`, probably because it is based on a deprecated method.
Would anyone ...
Dec 20, 2020 - 13:25
mikael
I added a constraint target which allows a view to be automatically sized to fit its contents.
In the example below, the key line is:
...
Dec 19, 2020 - 19:36
Tito
Hi.
I have this repetitive task at work, download data from SAP and upload it to a ftp server.
I have managed to script the steps making ...
Dec 17, 2020 - 23:43
resserone13
https://github.com/resserone13/PPEasy
@cvp I put together a simple app to help explain the difference in personal protective equipment. I’...
If you want the new iOS 14 Color Picker, please try
```
# coding: utf-8
from objc_util import *
import ui
def colorPickerViewControllerDidF...
Dec 14, 2020 - 22:21
Penguin Master
Hello, as the title says, when I try to add folders with git on stash, i get and error:```
stash: <type 'exceptions.IOError'>: [Errno 21] Is...
Dec 14, 2020 - 21:19
etanemuway
I tried for a couple hours yesterday to get a discord bot I made on my pc in PyCharm up and running on Pythonista, however I got stuck with ...
Dec 14, 2020 - 18:21
tahti
I am using the example code for voice recognition http://omz-software.com/pythonista/docs/ios/speech.html
Everything works fine but when I u...
Hi
I am trying to provide some shortcuts to open some pdfs that I have in a Dropbox folder.
Firstly how do I establish a useable file path t...
Dec 12, 2020 - 19:07
looperboy
Hi,
I'm very new to python. Sorry if this is a dumb question, but if i run a very simple program in the console asking for user input, the ...
Dec 12, 2020 - 17:24
hiransarkar
Hi everyone,
I am trying to create a app for iOS from windows pc. What the app actually does is it extracts data from the iOS reminder app. ...
Dec 11, 2020 - 17:27
resserone13
Traceback (most recent call last):
File "/var/containers/Bundle/Application/F3A42D55-5CB1-4DC2-AFF5-5BE7BB053375/Pythonista3.app/Framework...
Dec 10, 2020 - 07:46
Goalooin
[Goalooin.net](https://www.goalooin.net)
Match Time:10-11-2020 23:25 Thursday(GMT+5.5)
UEFA Europa League - Dundalk VS Arsenal
For the UEFA...
Dec 08, 2020 - 23:59
hiraokii
Hey guys I am new here, I starting programming and I got stuck on this problem.
When I choose the segments i create a form using the segment...
Dec 08, 2020 - 14:15
satsuki.kojima
I want to customize “sketch.py” in Example. I want to add a button to switch to an eraser mode which enables to erase the scribbled line. “s...
Dec 07, 2020 - 19:34
3448689
Hello!
The keyboard overlaps the textfield. What attribute is needed for the textfield or in some other way to specify that the textfield is...
Dec 07, 2020 - 16:26
Penguin Master
Hello, I'm trying to use PyMongo on Pythonista, and I got the link and all that right, but I'm getting this error:
```
Traceback (most rec...
Dec 06, 2020 - 01:00
trey
I’ve enjoyed working with Pythonista over the past year, so today when I needed to do some Markdown editing, I purchased Editorial.
I may j...
I am thinking about buying pythonista, but i wanted to know, if this is possible:
You cant use "requests" and "beautifulsoup" to scrape from...
Dec 04, 2020 - 17:02
walou213
Hello,
I’m considering purchasing pythonista 3 on iOS but I need to make sure before it it’s possible to interact between the Python script...
Device: iPhone 8+
OS: 14.2
If I directly run a pythonista program that calls input() , the input line is unobstructed.
If I invoke the prog...
Dec 02, 2020 - 00:39
Penguin Master
i tried adding "LANDSCAPE" to the run part, but im using a rotation based controls and they only work on portrait. Please help me. Thanks!
...