Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import getpass
- import conversationtool
- from subprocess import call
- from time import sleep
- print("\nV 0.0.2 | by A.V.I Technology 2017-2018")
- print("DEVs : Ghost\n")
- print("\nEnter Command :")
- print("Aviable Commands :\n\nStart - Starts System\nShutdown - Stops A.V.I Main\n")
- user =input("Username:\n")
- while True:
- command = input("Command:\n ")
- command = command.lower()
- print(command)
- if command == "start":
- p=("null")
- pas=("Deathdragon")
- while p!=pas:
- p=getpass.getpass("Enter Password: ")
- print("\nAccepted")
- print("Welcome "+user)
- print("\nLoading A.V.I | Threading-Modul...")
- print("\nLoading A.V.I | Networking-Modul...")
- print("\nLoading A.V.I | Neural-Network...")
- print("\nStarting Conversation-Modul...")
- print("Open new Terminal Session...\n")
- cmd = "konsole --hold -e \"/usr/bin/python3 /home/ghost/PycharmProjects/AVI/conversationtool.pyconversationtool.py\" &"
- call(cmd.split(" "))
- sleep(2)
- print("Conversation-Modul Loaded")
- elif command == "shutdown":
- print("\nShutdown System")
- break
- else:
- print("Command Fail - Retype Command: ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement