Skip to content
This repository was archived by the owner on Jul 28, 2024. It is now read-only.

Commit c961bd1

Browse files
committed
error removing feutures adding
1 parent 4e6c14d commit c961bd1

File tree

1 file changed

+38
-12
lines changed

1 file changed

+38
-12
lines changed

terminal.py

Lines changed: 38 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,47 @@
1-
# Kind of a sudo command but its name is super and it gives use you "supercommands" that a normal user can't use. Password is SECRETCOMMAND
1+
# Kind of a sudo command but its name is super and it gives use you "supercommands" that a normal user can't use. Password is etsugenfgr.
22
def supercommand():
3-
password = "SECRETCOMMAND"
4-
enter = input("What's the secret password? Say it:")
3+
password = "etsugenfgr"
4+
enter = input("Password:")
55
if enter == password:
6-
# If the password is correct, you can use the commands above:
6+
print("You are now in super mode.")
77
while True:
8-
command = input("You're in super mode. Type any supercommand:").strip().lower()
9-
if command == "type":
8+
command = input().strip().lower()
9+
if command == "":
10+
continue
11+
elif command == "supertype":
1012
typed_text = input("Type something:")
11-
return typed_text
13+
print(typed_text + typed_text)
1214
elif command == "superexit":
1315
return "Superexiting..."
16+
elif command == "superinfo":
17+
print("""
18+
PPPP y y TTTTT EEEE RRRR M M
19+
P P y y T E R R MM MM
20+
PPPP y T EEE RRRR M M M
21+
P y T E R R M M
22+
P y T EEEE R R M M SUPER MODE
23+
24+
PyTerm Supermode v1.0
25+
Python: v3.8
26+
Version Created: Twenty-Third April 2024
27+
Initial Day Of Creation: Twenty-Third April 2024
28+
Application: PyTerm v0.1-beta
29+
30+
""")
1431
elif command == "superhelp":
15-
return "type, superexit, superhelp,"
32+
print("Commands: supertype, superexit, superinfo, superhelp. Add-ons: -h")
33+
elif command == "supertype -h":
34+
print("Supertype command represents everything that you wrote twice. It is similar to type command in basic-user mode but this one is showing different output.")
35+
elif command == "superexit -h":
36+
print("Superexit command is letting you exit from the super mode. It is similar to exit command in basic-user mode but this one is exiting the supermode.")
37+
elif command == "superinfo -h":
38+
print("Superinfo command shows you info-data about PyTerm Supermode. It is similar to info command in basic-user mode but this one is showing different info.")
39+
elif command == "superhelp -h":
40+
print("Superhelp command shows you all commands you can use in supermode. It is similar to help command in basic-user mode but this one shows different commands.")
1641
else:
17-
print("No such command in super mode.")
42+
print("No such command in supermode.")
1843
else:
19-
return "Wrong password! You can't use the super command without the password."
44+
print("PyTerm error: wrong password.")
2045

2146
def pmdmcalc():
2247
operation = input("hint: + - / *. Type the symbol here: ").strip()
@@ -61,9 +86,10 @@ def handle_command(command):
6186
P y T E R R M M
6287
P y T EEEE R R M M
6388
64-
PyTerm v1.0-stable
89+
PyTerm v0.1-beta
6590
Python: v3.8
66-
Created: Twenty-Third April 2024
91+
Version Created: Twenty-Third April 2024
92+
Initial Day Of Creation: Twenty-Third April 2024
6793
Operating System: MacOS
6894
"""
6995
# PMDM command lets you use PMDMcalc directly from PyTerm.

0 commit comments

Comments
 (0)