Replies: 4 comments 5 replies
|
I use Git repositories for my Python files. On my iPad, I use the Working Copy app (I think they have a free version with limited features). For Pythonista, I keep the local repository in "iPad/Files/On My iPad/Pythonista 3/...". That way both Pythonista and Working Copy can access the files. P.S.: Regarding your "Pythonista crashing" problem: You can try to set the "Launch in Safe Mode" flag in "iPad/Settings/Apps/Pythonista/Launch in Safe Mode/". The flag will automatically be cleared when you run the Pythonista app again. |
|
Hello both, By now I have completed my setup. I learnt a lot even though I am not a beginner anymore. Kind of autodidact in Python and GitHub. See below for an overview of my setup, for those interested. For the fix_file program, yes please. It takes some time for me to develop the UI on the iPad, crashes are still there on a regular basis. Development of the Python side is 90% done, now I focus on the UI and calling the relevant functions. BTW, I am impressed with the Working Copy app and also its UI. It's amazing what can be done. My setup for my hiking app:
|
|
Question Does your app post process position information gathered from another iOS app, or does the Pythonista app also log the location and time info? |
|
Thank you. I will review soon.
The intended use is not a “live” tracking. Rather it is that we have
several known checkpoints on a hike. At each checkpoint I would do a
“scan”: in a JSON file I add an event with the timestamp and the checkpoint
reached. Like that all statistics like average speed and pace can be
calculated.
I would also have 2 events for starting a rest session and stopping a rest
session. Hence I can add up all rest sessions, calculate average speed with
with and without rest, for instance.
A location in LAT/LON can be useful to show myself on a map with folium,
based on the known GPX coordinates of the hike. I can have markers on the
map for the checkpoints, expected time of arrival, even ask for a weather
service for the temperature at the expected time I arrive at checkpoint X.
I will also try to add a slider in Pythonista to play with the average
speed: taking into account current distance and time, how does average
speed to the remainder of the hike affect my time of arrival?
It is my clear wish not to have an app or system that tracks on a
continuous basis and drowns my battery.
I know that on some way I am redoing what (professional) watches and apps
can already do. But I prefer to avoid fees, drowned battery, and definitely
also the fact that I can have it 100% the way I want it 😀 at least that’s
my goal besides learning Python, Pythonista, git, GitHub, folium, API’s,
working copy, …
I mention API too because the hike that is my first target and deadline
takes place in 2 weeks time. It has a website where you can track
participants which goes to an API. The last important goal is to define a
team of hikers and follow up their progress based on reading the API data
from my app. The API is not yet live and I hope to cram it into the app
with testing once it goes live in 1,5 weeks time or so.
…------
Best regards / Beste groeten,
Wim Gielis
Current IBM Champion 2024-2026
Former MS Excel MVP 2011-2014
https://www.wimgielis.com <http://www.wimgielis.be>
Op za 1 aug 2026 om 10:14 schreef Richard Potthoff ***@***.***
Hi Wim,
you could do the commit of the iOS changes directly on the GitHub web page.
You would still need to copy/paste the changes, but it would be all done
on your iOS device in Pythonista and Safari.
It helps if you have a hardware keyboard connected to your iOS device,
because then you could use the "ctrl A", "ctrl C", and "ctrl V" keyboard
shortcuts for the copy/paste part.
—
Reply to this email directly, view it on GitHub
<#133?email_source=notifications&email_token=AEDHULOCVRIPR4O7S7E4NND5HWRGPA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZYGYYTINRRUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-17861461>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEDHULMC6ZHOSZXSKV2VP3L5HWRGPAVCNFSNUABIKJSXA33TNF2G64TZHM4DOOJRHE4DEOJVHNCGS43DOVZXG2LPNY5TCMBVGIZDSMBRUF3AE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Uh oh!
There was an error while loading. Please reload this page.
Hello all,
For context, I am working on a Pythonista app. My very first app in Pythonista :-)
I wanted to share my current way of working with you and see if that is a good one or can be improved upon.
First of all, I want to show you my current setup.
I have a Windows laptop where I will develop the Python application. The laptop is connected to a 34 inch screen.
Then I have my iPhone and my iPad. The mobile applications is where I develop and test the GUI.
To get the files on my iOS devices I would copy/paste the Python files to my OneDrive.
Then in Pythonista I would import file by file from OneDrive to the iCloud folder.
I have not yet found a way to import a folder from OneDrive and all of its constituent files.
Or even better, a folder with all its subfolders and all its files underneath contained in one import operation.
For smaller edits in the codes, I could use the Pythonista editor.
However in that case the code is not synced and I still have to copy/paste the code changes to my laptop again.
What I also experience is that a larger Python script, could fail and goes in error mode due to an error or other reasons.
I would then close the application on my iPad for example, but when I restart Pythonista it would crash and close itself immediately.
The only workaround I've found is that I cut the offending file out of my iCloud folder to a different folder and then restart the Pythonista app. Then it would load again without closing immediately.
What can others recommend as an approach please?
Thanks a lot for your help!
All reactions