how to create a terminal in python code example
Example 1: python how to run terminal command
#By Uku Loskit
import os
os.system("ls -l")
Example 2: how to run python in terminal
#For Python 3:
$ python3 helloworld.py
#For Python 2:
$ python helloworld.py
Example 3: how to make a terminal in python
# Honestly
# Doing this in python without
# using some electron library or something would be hell
# Id highly recommend writing a terminal wrapper/CLI for what you want
# Not going out of your way to write a whole new terminal
#
# Wx/Tk can never go wrong tho \s