@JonB Thanks for the hint, platform.machine() does the job for me. I read about it in the documentation and falsely assumed that this was about the processor architecture. Should have given it a try.
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Posts made by honekamp
-
RE: Programatically retrieve device on which the script is running
-
Programatically retrieve device on which the script is running
Please pardon me if this topic has already been discussed, but is there any way to programatically find out whether a script is running on an iPhone or on an iPad and make the script behave accordingly?
Thank you,
Uwe