Questions tagged [pythonista]

Pythonista is an integrated development environment for writing and executing Python scripts on iOS. It supports most standard modules and includes many specifically designed for using with or automating iOS.

Pythonista is an integrated development environment for writing and executing Python scripts on iOS. It supports most standard modules and includes many specifically designed for using with or automating iOS.

Description from Official Site

Pythonista is a complete development environment for writing Python™ scripts on your iPad or iPhone. Lots of examples are included — from games and animations to plotting, image manipulation, custom user interfaces, and automation scripts.

In addition to the powerful standard library, Pythonista provides extensive support for interacting with native iOS features, like contacts, reminders, photos, location data, and more.

Useful Links

96 questions
7
votes
1 answer

What library creates simple 2D graphics, and works in both Pythonista and "normal" Python

I want to generate quite simple 2D graphics. What Python library will work in both Pythonista as well as normal python? I am a fan of Pythonista, but also a fan of writing apps for "normal" Python on a PC, and want my code to work on both.,.. I…
estephan500
  • 192
  • 1
  • 3
  • 14
6
votes
1 answer

How does Pythonista Work within App Store Restrictions?

I recently found out about an iOS IDE known as Pythonista, which claims to be a full Python 3.6 IDE and interpreter for the iOS platform, including several important libraries and bindings for native iOS APIs. My question is: how does it work? My…
SquawkBirdies
  • 157
  • 2
  • 13
6
votes
0 answers

Options to execute long-running scripts in iOS background without them being suspended

Context: I have Been using an iOS python IDE app (Pythonista) to write some simple scripts that periodically executes post/get requests, interprets & analyses these requests and then finally notifies me using builtin iOS notifications. I have been…
Sighonide
  • 600
  • 4
  • 15
4
votes
1 answer

AirPlay iOS Receiver / Recorder

How would I setup an AirPlay video & audio receiver for iOS (and then save the stream as a video file)? I know that this goes against Apple's guidelines, this is not intended for AppStore distribution. I am fine using private APIs. Note: I am using…
Benjy Wiener
  • 1,085
  • 2
  • 9
  • 27
4
votes
1 answer

A paperjs-equivalent for python (specifically, Pythonista for iOS)?

I've taken to creative coding on my iPad and iPhone using Codea, Procoding, and Pythonista. I really love the paper.js Javascript library, and I'm wondering how I might have the functionality that I find in paper.js when writing in…
nmelehan
  • 51
  • 4
3
votes
0 answers

Can I transform MIDI to WAV without a library?

I am currently doing a PYTHON program and I want to transform midi to wav without a library NOR a program or website. I found multiple posts telling me to download a library BUT I am coding in Pythonista (python IDE for iPhones and iPads) so since I…
3
votes
1 answer

How install pygame to pythonista apps

I am trying to install pygame in the pythonista app. I installed Stash, but when I tried pip install pygame an error appeared like 'Cannot locate packages.Manual installation required' Why do I get this error and how can I install pygame library to…
Spartak Borisov
  • 357
  • 2
  • 4
  • 14
3
votes
2 answers

Cannot import name ‘etree’

I am getting an error when trying to run a example .py from the serpscrap package. I am on an iPhoneX in Pythonista. Any help would be greatly appreciated. Here is the traceback Traceback (most recent call last): File…
Jake Walter
  • 31
  • 1
  • 4
3
votes
6 answers

Trouble installing discord.py 1.0

I am trying to install discord.py 1.0 in pythonista on my iPad with StaSh and so far, nothing that I have found on the internet has worked. Please don’t tell me that this question is a clone of this one How to install discord.py rewrite? because I…
user8116739
3
votes
3 answers

Discord.py[voice] giving installation error

I am trying to install discord.py with voice support into Pythonista on my iPad using StaSh. The problem is that when I enter the command pip install discord.py[voice] like it says to in the documentation, I get an error that says Error: Failed to…
user8116739
3
votes
3 answers

Python IPv6 Bytes To Address

I am running python on the iOS App Pythonista 3. When I try to get an IPv6 address it ends up returning bytes rather than a formatted address. Right now I am trying to find a way to either get the address properly without bytes, or to find a way to…
RoNAPC
  • 155
  • 2
  • 9
3
votes
1 answer

How to add images to Pythonista's ui designer

I have been fooling around with python and Pythonista 2.5 on iOS. I currently am far too inexperienced to create good UIs in scripts and need some help using the designer in Pythonista. I currently wish to add an image asset, yet I am only able to…
Nate B.
  • 85
  • 1
  • 8
3
votes
1 answer

How to store, find , then import a text file on iPad air 2 using Pythonista?

Using an iPad, I'm attempting to import a text file from the Internet in order to utilize in Python MOOC exercise "hangman" from edx: For this problem, you will need the code files ps3_hangman.py and words.txt. Right-click on each and hit "Save…
user3308780
  • 45
  • 1
  • 3
2
votes
2 answers

How do I read a csv file with Pythonista using an IPad?

I am fairly new to Python and I am trying to learn how to read and write csv files.I am programming on my iPad using Pythonista and I’ve encountered a problem I cant seem to solve. I want to read a csv file of which I don’t know the directory…
Phil
  • 21
  • 1
  • 4
2
votes
0 answers

Use PyDrive to append data to a file

I'm working on a Python application which is supposed to log different types of entries. The log file's format is JSON Lines http://jsonlines.org/. If the script detects a Wi-Fi connection, it updates the file, uploading it using PyDrive (all the…
Maganna Dev
  • 189
  • 1
  • 11
1
2 3 4 5 6 7