A downloadable game for Windows

Download NowName your own price

Command Prompt - Implemented in Python by SpideySpidery.

Code:

import os
dev_name = "SpideySpidery"
print(f"Command Prompt - Implemented in Python by {dev_name}.\n")
def main():
    command = input()
    os.system(command)
while True:
    print()
    main()

(ez.)

How to add custom commands:

# Replace the contents of the main function with following code below
command = input()
if command == "first command here":
    # add what happens when the `first command here` command is entered. For example you can print out "HelloWorld" like: print("HelloWorld") 
elif command == "second command here":
     # add what happens when the `second command here` command is entered. For example you can print out "HelloWorld" like: print("HelloWorld")  
else:
    os.system(command)


Download

Download NowName your own price

Click download now to get access to the following files:

CMDPy Installer.exe 7 MB

Leave a comment

Log in with itch.io to leave a comment.