Share your repls and programming experiences

← Back to all posts
Python operating system (sort of)
JessYeen

this is a very rough concept of an operating system in python, if anyone has any tips or suggestions please let me know as it is still in very early development

Voters
JessYeen
Comments
hotnewtop
JosephHeinz

Pretty cool, I'd like to see where it goes! One suggestion: add the ability to add more than one line to a file please, or am I just dumb and use \n

JessYeen

You can edit the file's contents using the file browser

EthanMartin223

If you want to prevent the program from throwing an error if the user puts a file extension besides .py, you could use a Try-Except block to catch errors.
https://www.w3schools.com/python/python_try_except.asp if your not sure how to use Try-Except.

JessYeen

@EthanMartin223 thanks!! ill try that

MrVoo

A few suggestions, change the command that changes settings to settings for consistency, and add a space after prompt. You could add a calculator with support for multiple operations, and a timer