import time
from datetime import datetime
import math
import random
#load time/datetime/math and boot'
print("D.electronics")
#welcome
time.sleep(3)
print("Welcome in D.eSystem beta build ")
#start setup
language = input("Sellect your language (english or german)").lower()
#sellect language
if language == "english":
print ("You sellected english")
elif language == "german":
print ("Sie haben sich für Deutsch entschieden")
else:
language = input("write english or german because you sellected an unkown language")
if language == "english":
print("Welcome in D.eSystem setup")
elif language == "german":
print ("Willkomen im D.eSystem setup")
#start D.eSystem setup
if language == "english":
input("How to use: You can type later a command like Clock,Settings and more.Type OK to continiue")
elif language == "german":
input("Anleitung:sie können später Befehle wie Uhr,Einstellungen and mehr eingeben.Schreiben sie OK zum fortfahren")
#how to use D.eSystem
print ("Wait 3 secconds")
time.sleep (3)
# start D.eSystem
if language == "english":
while True:
#os english
command = input("Type in command (type help for commands)").lower()
if command == "d.esystem version":
print ("D.eSystem version: OS=D.eSystem beta build 0.3,UI=D.Touch UI micro,UX=raw UX,Brand=D.electronics")
elif command == "news":
print("D.OS 17 came out on scratch/The year 2026 started/D.electronics is working on D.System 8 and D.eSystem/this year is GTA 6 coming")
#D.news eng
elif command == "shutdown":
print ("Shutdown...(Restart the system to boot into setup)")
break
#shutdown eng
elif command == "help":
print ("You can type (D.eSystem version, help, shutdown, news, clock, calendar, hello, max commands)")
#help
elif command == "clock":
now = datetime.now()
print(now.strftime("%H:%M:%S"))
#clock
elif command == "calendar":
now = datetime.now()
print(now.strftime("%d.%m.%Y"))
#calendar
elif command == "tips":
print("Tips for D.eSystem: You can type D.eSystem version to see your version from D.eSystem. You can type max commands to see all commands for max.")
#apps english
elif command == "hello":
answer = random.randint(1, 10)
if answer == 1:
print("hello world")
elif answer == 2:
print("Hi user!!")
elif answer == 3:
print("I hope you enjoy the experience!!")
elif answer == 4:
print("Welcome in D.eSystem beta")
elif answer == 5:
print("Hello friend")
elif answer == 6:
print("Hello, I am Max mini:)")
elif answer == 7:
print("Hi!")
elif answer == 8:
print("yes")
elif answer == 9:
print("Cool,hi")
elif answer == 10:
print("YES,hello")
#hello Max mini
elif command == "what is that":
answers = [
"this is D.eSystem",
"it is an prototyp OS",
"This is an python bassed OS",
"This is Max mini"
]
print(random.choice(answers))
elif command == "how old are you":
answers = [
"I was introduced with D.OS 8th gen (scratch) on 26 december 2024,my newset versions are Max 5.0 in D.System 7 (scratch) and D.OS 17th gen (scratch) and Max mini in D.eSystem (Python)",
"I was introduced on 26th december 2024"
]
print(random.choice(answers))
elif command == "what is a good os":
answers = [
"D.eSystem",
"Every D.electronics OS.",
"You should try D.eSystem.",
"There are many good systems like D.eSystem."
]
print(random.choice(answers))
elif command == "what is the largest planet in the solar system":
answers = [
"Its jupiter.",
"The largest planet in the solar system is jupiter.",
"It is the planet jupiter."
]
print(random.choice(answers))
elif command == "why are you here":
answers = [
"I am here to help you",
"Because I can",
"Because I am cool",
"Because I want to help you"
]
print(random.choice(answers))
elif command == "max commands":
print("Max commands:why are you here, what is the largest planet in the solar system, what is a good os, what is a good os, hello")
else:
print("unkown command!!")
# operating system english version
if language == "german":
while True:
#os german
commandg = input("Geben sie einen Befehl ein!!schreiben sie hilfe um alle befehle zu sehen.").lower()
if commandg == "nachrichten":
print("D.OS 17 ist auf scratch rausgekommen./Das Jahr 2026 hat angefangen/D.electronics arbeitet an D.System 8 und D.eSystem ")
elif commandg == "d.esystem version":
print ("d.esystem version:OS=D.eSystem beta build,UI=D.Touch UI micro,UX=raw UX,brand=D.electronics,Programiersprache=Python")
elif commandg == "herunterfahren":
print ("Herunterfahren...(Starten sie das System neu um es wieder zu starten)")
break
elif commandg == "uhr":
now = datetime.now()
print(now.strftime("%H:%M:%S"))
elif commandg == "kalender":
now = datetime.now()
print(now.strftime("%d.%m.%Y"))
elif commandg == "hilfe":
print("uhr, kalender, nachrichten, d.esystem version, herunterfahren, max befehle")
elif commandg == "tips":
print("Tips: sie können d.esystem version eingeben um ihre D.eSystem version zu sehen. Sie können max befehle eingeben um alle Befehle für Max zu sehen.")
#apps german
elif commandg == "hallo":
answers = [
"Hallo",
"Willkommen",
"Willkommen in D.eSystem",
"Hallo,ich bin Max",
"Hallo,willkommen"
]
print(random.choice(answers))
elif commandg == "was ist das":
answers = [
"Das ist D.eSystem",
"Das ist ein gutes OS",
"Das ist etwas tolles"
]
print(random.choice(answers))
elif commandg == "wie alt bist du":
answers = [
"Ich wurde im Dezember 2024 entwickelt,meine neusten Versionen sind Max 5.0 und Max mini.",
"Ich wurde im Jahr 2024 entwickelt"
]
print(random.choice(answers))
elif commandg == "was ist ein gutes os":
answers = [
"D.eSystem",
"Es gibt viele gute Betriebssysteme",
"D.eSystem is ein sehr gutes System",
"Du nutzt schon das beste was es gibt"
]
print(random.choice(answers))
elif commandg == "was ist der größte planet im sonnensystem":
answers = [
"Es ist der Planet Jupiter",
"Jupiter",
"Es ist Jupiter"
]
print(random.choice(answers))
elif commandg == "warum bist du hier":
answers = [
"Weil ich es kann.",
"Weil halt:)",
"Ich bin hier um dir zu helfen.",
"Weil ich klug bin."
]
print(random.choice(answers))
#Max german edition
elif commandg == "max befehle":
print("Max befehle: hallo, was ist das, wie alt bist du, was ist ein gutes os, was ist der größte planet im sonnensystem, warum bist du hier")
else:
print ("unbekannter befehl!!")
# operating system german version