I was just wondering if it was possible to make an operating system in python. Nothing fancy. Maybe not even a "real" operating system with a kernel and all. Just a python program that is run when someone inserts the disc containing it that will make a fullscreen display on top of the installed os.
It sounds like what you want to write isn't an operating system, but a shell -- that is, it sounds like you want to write the functionality of a file manager and a desktop environment, and maybe launch other programs, but not bother with all the low-level stuff of drivers and I/O and whatnot.
If I'm interpreting your question right, then sure, it's possible! Some things that might prove useful:
For full-screen graphics, try pygame. Or, if you want it to look slightly more like a conventional system with premade buttons and windows and whatnot, try pygtk, where it's not too hard to make a window full-screen and you can go from there.
For things like digging around in the file system, investigate the os package.
http://www.dabeaz.com/coroutines ... pay close attention to Part 7. :-)
Yes, of course it is. Python is a Turing-complete programming language, which means that anything you can do in any programming language, you can also do in Python. Since OSs exist, you can obviously write them in some language, therefore you can write them in Python.
There actually used to be an OS written (largely) in Python, called Ununumium. They have long since shifted their focus away from being a Python OS and more towards interesting OS design concepts such as orthogonal persistence, and rewritten it in assembly.
Another Python OS which unfortunately hasn't seen any development in years is Cleese.