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!
Mar 31, 2020 - 12:11
mieq
It seems Clipboard.get_image Can’t handle a large image (900kb in my case) in Pythonista Keyboard. Is there any workarounds?Thanks.
Mar 31, 2020 - 03:10
crazy666
Hello i try to lean python and i have difficulty for create widget ,
```
import console
import clipboard
import ui
import appex, ui
mv = ui...
Little (not quick but still dirty) script to be executed once by Pythonista restart (fi in your pythonista_startup.py).
When you tap help i...
Mar 30, 2020 - 13:11
stephen
@mibradoc j'ai joué avec le vscript abd techniquement a enfreint ses "règles" mais j'ai fini avec cela comme résultat le plus proche de zér...
Mar 30, 2020 - 09:47
stephen
Good Evening/Afternoon!
------
I seem to be having trouble understanding how to implement and use User defined:
- Delegates
- Event Handle...
Mar 30, 2020 - 04:45
apiarian
I've written a tool that generates and plays an infinite stream of music. Currently by riffing on Satie's Gnossiennes 1. It's fun! https://g...
Mar 29, 2020 - 22:55
mibradoc
Hello,
I have this 'for loop' in my script, where box_altex == 8 :
...
for num_box in range ( (box_altex//3*3) , (box_altex//3*3)+3) :
pri...
Mar 29, 2020 - 17:41
qunwang6
* [UI Debugging Overlay.py](https://gist.github.com/omz/b76261844db0255899ba857838a7c201)
* [UIDebuggingInformationOverlay - Low Level](http...
Mar 28, 2020 - 17:06
bananakitty
Is it possible to do so? Thank you.
I've a text 'Word word'
How can I replace the string 'word' independantly of its case by itself followed by a another string, exemple 'xxx'
...
Mar 28, 2020 - 07:02
PeterG
In the overview all posts are 5 years old,
No users anymore?
Mar 28, 2020 - 05:14
Veorra
Is there a way to retain the functionality of gesture navigation, eg. swiping right to go back one page, when navigation_bar_hidden is set t...
Mar 27, 2020 - 19:37
stephen
# Extended Example Script for Pythonista Keyboard
---
### Everything is still the Same Concept. additions and changes are as follows...
- ...
Mar 27, 2020 - 11:26
masscode
Hi,
I am brand new to Pythonista and just installed Stash to get pip working, but it does not find the command.
I found pip.py in bin, so I ...
I am a participant in the repo https://github.com/TheAlgorithms/Python/blob/master/DIRECTORY.md and I invite you to get involved.
We curate...
Mar 26, 2020 - 20:35
stephen
# HELLO EVERYONE!
>Does anyone think we *would/will* get a Game Dev Section?
I think it would be a great way to help with `scene` specific ...
Mar 25, 2020 - 22:14
shinyformica
Just curious, since I don't fully understand the details beyond using some kind of CFFI to do this kind of magic: is there any possibility o...
Mar 25, 2020 - 21:58
jh2020
I’m trying to install gmpy2. But, I get the following error when using pip install gmpy2.
Querying PyPI ...
Downloading package ...
Openin...
Mar 25, 2020 - 18:55
stephen
# just my curiosity...
Would there be any benefit from "adopting" an import from another import?
### ◈*Example*◈
```python
import scen...
Mar 24, 2020 - 07:46
mikael
I have a third-party module that opens a page in a tab (beside the Console). I would need to know the url of the actual page opened after so...
Mar 23, 2020 - 23:45
MrKingDice
Hi guys im new in the pythonista world, Im not a very good english writer so I’ll try to be short
I have a small idea of a script in python...
Mar 23, 2020 - 21:49
jmv38
can anyone help me to invert scikimage.utils.view_as_blocks?
utils.view_as_blocks can make a (128,128) array become (16,16,8,8) so i can wor...
Mar 23, 2020 - 11:51
stephen
***Anyone else here that echo when you produce key click... Where is everyone...***
Mar 22, 2020 - 16:16
stephen
good day Pythonistas!
=========
---
I was having an issue with `Image`|`pillow`|`PIL` (your choice 😅) with File Context for `Image.open()`...
Mar 22, 2020 - 00:45
mikael
Thanks to the relentless work of @rozaimech and others in [this thread](https://forum.omz-software.com/topic/6256/problems-when-using-objc_u...
Mar 21, 2020 - 10:16
jaredchurch
I see in latest release a new attribute of Reminder called url. I expected that this would allow me to add a url to a reminder so that it ap...
Mar 21, 2020 - 04:02
stephen
Hello Everyone!
=======
>I have been using Pythonista and Eitorial for some time now and nytime i ad an issue i would usually find a soluti...
Mar 20, 2020 - 18:51
arandomperson
Hi there! I have been working on this module for the past few days and I think it's ready to be shared. Find it [here](https://github.com/ar...
Mar 19, 2020 - 21:30
pythonarias
Is there an undo function for Pythonista’s editor running on iOS ?
Mar 19, 2020 - 12:53
ryubai
how to understand thread clearly? see my comments
I run these code and return such results.
----------------
<NSThread: 0x2828f0780>{numbe...
Mar 19, 2020 - 12:28
ryubai
when I run these code, it shows a error name lib is not defineded?
how to slove? thanks
import ui
from objc_util import *
def change(sen...
Mar 17, 2020 - 16:01
rozaimech
Can you help me solve the problem about object_c? I'm using objc_util() to create a UIDragInteraction, but it didn't work. The error message...
Mar 17, 2020 - 11:04
Drizzel
As @mikael already pointed out, no Pythonista user should get bored during quarantine :)
So I thought I might try to code a ui around some g...
Mar 17, 2020 - 07:48
mikael
Luckily no Pythonista owner will be bored in quarantine.
Mar 16, 2020 - 18:16
tbrown313
I have written a Pythonista script using the ui to create and update multiple files that are stored in the Pythonista directory of iCloud. I...
Okay, Does anyone know any code to load a image in the ui designer (ImageView) cause I want to use my own custom image I know how to import ...
Mar 16, 2020 - 14:22
lyubomyr83
I install last version pandas over stash
Then i test with some code:
import pandas as pd
df = pd.DataFrame({'id':range(15), 'chars': ['ab']...
Mar 15, 2020 - 16:38
arandomperson
Hello! I'm making a UITableView by scratch, and am trying to use the constant "UITableViewAutomaticDimension" for the row heights. But I am ...
Mar 14, 2020 - 21:15
ClackHack
Hello all, I am here to show you my newest project which can be found [here](https://github.com/ClackHack/AAG)!
Let me know what you think, ...
I’m guessing most people who frequent this forum already have Pythonista, but just in case you’ve been holding off, or know someone to gift ...
Mar 12, 2020 - 21:07
Drizzel
I’m trying to implement [PyBoy](https://github.com/Baekalfen/PyBoy), a GameBoy Color Emulator written in Python, into a custom Ui. PyBoy has...
Mar 12, 2020 - 05:24
wolf71
Just fork a bye-bye Feedly project ,and add some function. it’s can running on Pythonista. https://github.com/wolf71/bye-bye-feedly
1. dow...
Mar 11, 2020 - 23:21
uncertaintea
I have a script that reads an ascii encoded text file, created within the Pythonista environment. However, when i execute the script on the ...
Mar 11, 2020 - 14:00
mikael
Is there a way to add help docs for custom components, so that they would be included when you select Help... from the editor pop-up?
Mar 11, 2020 - 08:13
mikael
With this:
```
import pathlib
p = pathlib.Path('~/Documents')
p.expanduser()
```
... I get a stacktrace:
```
AttributeError: 'PosixPath' ...
Mar 10, 2020 - 21:10
Samer
Hello!
For a project i’m currently working on I needed a UIPageControl view, I thought I would share this here in case anyone else needed i...
Mar 09, 2020 - 17:36
marteno
Hello, apologies in advance for the very basic question! I’m a new user of Pythonista and I just *can’t* get the interactive prompt up. I’...
Mar 09, 2020 - 11:53
ProgrammingGo
Hi I have a question based on the Bluetooth communication between Ti Sensortags and Pythonista.
Since I can send only max 20Bytes per packet...
Mar 07, 2020 - 21:46
Sway
I’m unable to import the **dict module** even though autocomplete shows it available.
I’ve tried both:
* import key from dict
* import dict...
Perhaps already done in the past (sorry if duplicate)
```
import ui
import datetime
from objc_util import *
dp = ui.DatePicker()
dp.ba...