Skip to content
← Back to Community
ÆOS
Profile icon
Axrevyn

Random OS project I made
If there's something I should add/fix, comment it (I'm not the greatest bug tester)

Voters
Profile icon
DJWang
Profile icon
Ganesha1
Profile icon
Axrevyn
Comments
hotnewtop
Profile icon
cakBejelentkezs

Traceback (most recent call last):
File "main.py", line 3, in
exec(open("definitions.py").read())
File "", line 6
Purple"\033[1;35m"
^
SyntaxError: invalid syntax
rip

Profile icon
Ganesha1

138~139 can be set to if random.randint(1,25) == 1 :

99~128 can be simplified drastically by just allowing the user to set it themselves no need for 7 elif statements. (same with 64~93, you can capitalize/lower user inputs.)

43~53 has the same problem as 99~128, just set a string to be the input arrow and change that string's color to the desired one (as well as +white at the end so it'll reset everything after it.)

I also suggest giving the ability for user to access the clear() function.

Profile icon
Axrevyn

@Ganesha1 Thanks!

Profile icon
Ganesha1

also

choice = input("Execute which app? > ").lower() try : exec(open(choice).read()) except : print("No existing app")