Custom Command Window (Python)

When making a custom terminal application, you must not only download python but other libraries including OS and others depending on what you want shell to do.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Things You Will Need

One raspberry pi that can run the Ubuntu Mate OS, and the dependent packages associated with the python OS library and Python itself.

Step 2: The Code

import os

print "Name"

def command():

x = raw_input(">:")

if x == ("Command1"):

print("Test")

simulate()

def simulate():

command()

command()

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    Discussions