Python Forum
Python as an operating system boot up - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: News and Discussions (https://python-forum.io/forum-31.html)
+--- Thread: Python as an operating system boot up (/thread-22487.html)



Python as an operating system boot up - megatronixs - Nov-14-2019

Hi all,
I started to learn Python code and it is really nice.
once I got a Raspberry Pi 4 and watching a video on YouTube about a Commodore C64, it got me thinking that why not boot the Raspberry Pi straight into Python like a Commodore C64 would boot into Basic.

Does any one know if this is possible, are there links etc. I did some googling, but could not find nothing on this.

Greetings.


RE: Python as an operating system boot up - Larz60+ - Nov-15-2019

see: https://www.raspberrypi.org/forums/viewtopic.php?t=46125


RE: Python as an operating system boot up - snippsat - Nov-15-2019

(Nov-14-2019, 09:25 PM)megatronixs Wrote: it got me thinking that why not boot the Raspberry Pi straight into Python like a Commodore C64 would boot into Basic.
Does any one know if this is possible,
No Python is not a OS(operating system) like eg Commodore C64.
You can make stuff in Python CLI(command-line interface ),GUI(Graphical User Interface) or web-app.
Then make what's made start up at boot as the link Larz60+ posted talk about.


RE: Python as an operating system boot up - LeanbridgeTech - Nov-18-2019

What you're asking probably cannot be done. Due to not having a lot of information I'm not sure what you mean. You could, enable the script on boot and fully show it after you've logged into your OS, but you cannot create an OS with just that... An OS consists of a kernel, etc. etc.

Look here for more: Is it possible to create an operating system using Python?


RE: Python as an operating system boot up - DeaD_EyE - Nov-18-2019

If you want to know more about Python as OS: https://lwn.net/Articles/641244/
It's used to diagnose hardware. The developer gave also a talk about the implementation and the occurring problems.

Micropython is also a kind of small os implementation. It's made for micro controllers, which doesn't have a MMU.

PS: If you just want to use an emulator on your Raspberry Pi, then use an existing emulator. The internet is full of them.