Windows hello.zip issue: by default Windows expands hello.zip to create a "hello" folder with a second "hello" folder inside it, which is one too many folders. The examples below will use this hello folder as an example for various command. Expand it to get a "hello" folder that contains a "hello.py" file and some other files. zip file the folder where you'd like to keep your code. See the "Creating Command Line" at the end of this doc for how to get a command line without P圜harm.įor the examples bellow you can use our "hello" project. The command line is often called the "terminal" since that was the name for the screen and keyboard devices that were wired up to computers in the early days.īelow, we'll show how to get a terminal from within P圜harm which will be our common way to do it. The computer takes in what the user has typed, runs it, prints the resulting output to the screen, and then puts up a prompt again. In this example, shown in bold, the "date" command. The user types a command and hits the return (aka enter) key to run the command.
The cursor is left blinking to the right of the prompt, waiting for the user to type something. With the command line, the computer types out a prompt, shown here as "$" although typically it is longer, showing things like the current folder. Here's a simple example of the command line, in this case running the command known as "date" which prints the current date and time (works on the Mac and Windows). That's a fantastic story, describing how billions of regular people to use computers to create dazzling results ever day.īut how does that work behind the scenes? The programmers's world putting this all together is driven by the command line. The user clicks and types, the computer reacts to follow their wishes.
There are two views of the computer - in the user's view, one just picks up the computer to see text and image and icons.