-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
34 lines (26 loc) · 761 Bytes
/
main.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
# Metadata
__author__ = "Debarka Naskar"
__license__ = "MIT"
__copyright__ = "Copyright (c) 2022 Debarka"
__version__ = "0.0.1"
__maintainer__ = "Debarka Naskar"
__email__ = "halderhena05@gmail.com"
__status__ = "Production"
# Imports
from encryption import Encryption
from decryption import Decryption
from rich.console import Console
from strings import mainStr
from errors import *
import functions, os, pyfiglet, readchar
# Minor modifications
console = Console()
os.system("cls" if os.name == 'nt' else 'clear')
# Main loop to run continuously
while True:
# Some ascii art (⌐■_■)
print(pyfiglet.figlet_format('Encrypterish'))
# More utility stuff
console.print(mainStr)
word = input("")
functions.returnMain(word)