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.
Working W/ Raspberry Pi - .pyui files & how to run them
-
Hello everyone,
I am working on a project involving a raspberry pi and a small screen. For now I’m just using HDMI to a monitor for output.
If I create a “app” - more so the UI in Pythonista - what would I need to do to run the .pyui files on my Pi?
I would liked to setup a workflow where I can rapidly edit the UI from my iPad - once I get going I’ll be good I believe.
It’s mostly getting it running initially and any special considerations for running .pyui files from Pythonista
So in saying that is there a specific framework/library I need to load or are there any specific considerations for the transition from inside-iOS-Pythonista to my pi?
Thank you in advance!
-
@spaceleviathan, pyui’s are Pythonista-specific and as such do nothing on a Pi. That said, there was a recent thread about parsing the pyui json to create widgets for another UI framework – maybe you could join forces?
That said, I would rather consider making the UI in HTML/Javascript, using WebView, if it needs to run on other platforms.
-
@mikael thank you for the reply - genuinely appreciate it.
Yeah I feared they were Pythonista specific (which is fine - just means I need to pivot). I'll look into the other thread and if I can - contribute where I can there.
It would be great to establish Pythonista as a (for beginners / protoypists) full-fledged Pi IDE (I feel like UI is the missing piece there).I did want to avoid using WebView but if I have to - I'm no stranger to front-end development so I can always give into that road.
I'll check my options a bit further - thank you for the advice and have a great day!