Pythonista and Shortcuts
Hey everyone, I’m totally loving shortcuts and as I was scrolling through all of the actions I found that there was something called Pythonista and I could run scripts. Since I’d never heard of Py tweakbox thonista I found it on the App Store and was surprised to see you can run Python on iOS. Since I do have a moderate amount of e xperience with Python I bought the app and it seems great, I just don’t know what I can do to use it.appvalley
Does anyone here use Pythonista? What do you use it for? Has anyone included it into any Shortcut scripts yet, and how?
@BontieFernandes, in addition to all
kinds of recreational coding fun, I use Pythonista daily for:
- One-click renewal of all the library books borrowed by our family
- Pocket dashboard for the car (showing mileage, charge remaining, triggering heating etc.)
- Personalized gym training tracker
Just like you, i found Pythonista after playing around with shortcuts(workflow). It’s amazing what you can do with shortcuts and now with automation. Well i bought Pythonista, 2 years ago but i recently started using it, in fact, i bought some nfc chips, i put one in my car and what it does is,
Turn off wifi
Turn on Bluetooth (music plays via Bluetooth)
Turn on mobil data (4g)
Open app YouTube music
Play my playlist
Set brightness to 80% (from 7am to 7pm)
Set brightness to 40% (from 7pm to 6am)
Set volume to 80%
Send “coming” sms to ‘Temporal’
But the interesting part was trying to send a message to notify my boss or anyone else that I’m coming.
I created a temporal contact like everyone else does in the contact app, then i went to Pythonista and tried to read the contact ‘temporal’, edit it’s phone number and save it so that shortcuts sends the sms. Funny thing is that i can’t make it work yet because my code is not editing my temporal contacts phone number.
Anyways, first time with python.
The more reasonable stuff:
- with Shortcuts: app icon that launches my favourite game and sets a reminder for 30min, so that I stop wasting my time
- learning python in general, especially on the school bus
- showing me today’s lessons in the iOS widget menu
- notification if lessons get cancelled or moved
- push-up counter and push-up max-hold timer
- music app that downloads songs from YouTube and then plays them (didn’t want to pay for Spotify or some alternative)
Things I still want to do:
- app for making flowcharts, they should then be converted automatically to python code (and code to flowchart). Graphvitz (a software for that) is just way too expensive for me.
- GPS tracker that logs my coordinates when going for a run (and then plot them on a map on a large screen in my room, so that I can see all my routes and times)
- several games
This post is deleted!last edited by