Python OS 6
Python OS 6 is a complete user interface and application management system written entirely in Python using Pygame.
It is designed to run on a Raspberry Pi with a 320x240 touchscreen attached. It includes a complete GUI toolkit including events, callbacks, and threads. Python OS also comes with several applications as well as the ability to install more using the Software app.
On the Pi, it works with python-wifi to connect to the Internet.
Support the development of this platform by making a donation in any amount. You may choose to enter your name (or username) on the donation screen and it will be added to the About app. Thank you!
- Home Page
Pygame.org account Comments
Jorge A. Gomes 2016-03-02 23:54:15
Awesome work! Congrats! There's a lot to change in your code to make it look like a solid python project, regarding stuff like PEP8, but I have no doubts you'll soon reach the Zen of Python. By the way, if you are new in Python as it seems, welcome to the Python community!
Adam F 2016-03-04 22:24:03
Thank you! I plan to make the code more PEP8-compliant after all the features are implemented (e.g. the final release.)
alianaalisa 2020-07-30 11:08:49.086732Our highly trained team works dedicatedly for you to spot, identify, and nullify any risks emanating in and around your business premises and commercial sites. Serena Security
alianaalisa 2020-07-31 16:12:52.292463Welcome to top-up mobile masters. Easy and secure Prepaid Mobile Recharge Online in US. We provide an easy way to recharge mobile online and Cell Phone Refills cell phone refills
canine828 2016-03-03 14:57:56
good, but I think some things could be improved:
1: make it fullscreen (what if somebody is running it on something other than a Pi's touchscreen?)
2: the icon should be different (it's too rectangley, and it looks like a ripoff of the Windows logo)
3: add app switcher (make PyOS apps, use "import <app_code_name>" and then blit <app_code_name>.draw((0,0,width_of_surface,height_of_surface)) onto the display surface, and put icon in app tray)
Adam F 2016-03-04 22:17:04
Thanks for your input! I agree, I'll have to redesign the icon (what was I thinking!). I am working on an app switcher now, I think I'll trigger it via clicking on the current app's title. I'll use the already-made launcher containers to save time :)
The fullscreen thing may be more of a problem. The OS is made for the Pi, but it does *work* at a higher resolution (but doesn't look good). I think that I may make a second version (such as PyOS-PC) that shares the same codebase but scales up resources.
canine828 2016-03-04 22:23:26
A quick fix for resource scaling: Make 4 upscaled versions of the images you need to upscale. Use pygame.VIDEORESIZE (you will need to use the pygame.RESIZABLE flag) to detect new resolution, and get the code to decide which version of the image should be used. Or make an infinite-resolution version of the icon (something similar to SVG) that your Python code parses and uses to scale and draw each image.
Example (each number that is not stated otherwise is a percentage, the 6-digit code at the end is the hexadecimal colour, and True[outline width in pixels@width value used to upscale outline width, in pixels;height value used for the exact same purpose as the width value, in pixels]/False is whether it is an outline or not):
ellipse 0 0 100 100 DD4814 False
rect 0 0 100 50 772953 True[4px@64;64]
would make an orange circle, and (at a size of 64px by 64px) a 4px outline of a rectangle spanning the entire top half of the image in purple
Adam F 2016-03-04 22:27:33
Yep. I think the best option may be to simply create hires icons, and load those if they exist (if they are 120x120 or 160x160 that should be enough for a large screen). Apps could also provide a "scaleup" flag that would simply double all given values, like running iPhone apps on an iPad.
alianaalisa 2020-06-28 09:38:41.304533One present why galore businesses opt for postcards is because they are overmuch cheaper to be prefab and this can forbear a lot of expenses on the lengthened run. Ongkos Kirim Barang Dari China Ke Indonesia
Bruno L. Carli 2016-12-19 22:38:37
Can i run this PyOS in a UDOO board? right that UDOO is a raspberry+arduino based board?
alianaalisa 2020-06-07 13:26:17.059025very interesting keep posting. no affect
alianaalisa 2020-06-14 06:41:32.357721Nice post! This is a very nice blog that I will definitively come back to more times this year! Thanks for informative post. dark web sites
alianaalisa 2020-06-14 12:11:54.727828It proved to be Very helpful to me and I am sure to all the commentators here! Local moving SAN DIEGO
alianaalisa 2020-06-24 11:29:44.927547An fascinating discussion is value comment. I think that it is best to write extra on this matter, it won’t be a taboo topic however generally people are not enough to talk on such topics. To the next. Cheers 먹튀
alianaalisa 2020-06-27 13:01:57.224046To get an obvious answer I start surfing and found that badminton is the game which people love to play it. No matter what is your age and from which group you are from if you have great command and skills then you can simply rock. Best Badminton Rackets for Beginners
alianaalisa 2020-06-28 09:38:57.839285One present why galore businesses opt for postcards is because they are overmuch cheaper to be prefab and this can forbear a lot of expenses on the lengthened run. Ongkos Kirim Barang Dari China Ke Indonesia
alianaalisa 2020-07-29 13:41:59.480766Thank you for very usefull information.. Dryer Repair
alianaalisa 2020-08-04 09:01:36.763800Dezjato desentupidora , is prepared to serve customers with great urgency for cleaning services in Residences, Industries, Commerce, Restaurants, Schools, Hospitals, Ports, Airports and ETC. dezjato empresa desentupidora