You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PythOS.py
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,14 @@
14
14
print("PythOS - The new way to use Python.")
15
15
ProcessorType=1
16
16
print("Running PythOS on AMD64")
17
+
fname=""
18
+
sname=""
17
19
deflogin():
18
20
print()
21
+
globalfname
22
+
globalsname
19
23
fname=input("Type in your first name: ")
20
-
returnfname
21
24
sname=input("Type in your surname: ")
22
-
returnsname
23
25
print()
24
26
print()
25
27
defload(fname, sname):
@@ -37,6 +39,7 @@ def load(fname, sname):
37
39
login()
38
40
load()
39
41
# Now PythOS has loaded, we can create the actual operating system. But, we need to make a loop so that you can type in a command and then type in a new one.
0 commit comments