-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathboot.py
57 lines (50 loc) · 1.14 KB
/
boot.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import time
from os import system, name
from datetime import datetime
import boot
import clear
import clear0
import login_ps
import login_usr
import logo
import preferences
import programs
import signUp
import start_L
import start_R
import start
import SYSTEM_FILES
CEND = '\033[0m'
CRED = '\033[91m'
CBLUE = '\033[94m'
CGREEN = '\033[92m'
CYELLOW = '\033[93m'
CLAVENDER = '\033[95m'
CHID = '\033[30m'
CBRED = '\033[41m'
CBBLUE = '\033[104m'
CBGREEN = '\033[42m'
CBYELLOW = '\033[43m'
CBLAVENDER = '\033[45m'
CBWHITE = '\033[7m'
def boot():
clear0.clear0()
boot = input(CGREEN + "type 'start' to boot the system.." + CEND)
secs = 0
if boot == "start":
while secs != 2:
print(CBGREEN + " booting up.. " + CEND.format(secs))
time.sleep(7)
secs += 2
clear.clear()
print(CBWHITE + "________________________________WELCOME to IngSoft 94________________________________" + CEND)
print("Loading data..")
time.sleep(5)
clear.clear()
start.start()
print("")
else:
clear0.clear0()
boot()
pass
pass