|
1 | | -<!--sec data-title="Prompt: macOS and Linux" data-id="OSX_Linux_prompt" data-collapse=true ces--> |
| 1 | +<!--sec data-title="Prompt: Windows" data-id="windows_prompt2" data-collapse=true ces--> |
| 2 | + |
| 3 | +On Windows, you probably see a `>`, like this: |
| 4 | + |
| 5 | +{% filename %}command-line{% endfilename %} |
| 6 | +``` |
| 7 | +> |
| 8 | +``` |
2 | 9 |
|
| 10 | +<!--sec data-title="Prompt: MacOS" data-id="OSX_prompt" data-collapse=true ces--> |
3 | 11 |
|
4 | | -If you're on Mac or Linux, you probably see a `$`, like this: |
| 12 | + |
| 13 | +If you're on Mac, you probably see a `%`, like this: |
5 | 14 |
|
6 | 15 | {% filename %}command-line{% endfilename %} |
7 | 16 | ``` |
8 | | -$ |
| 17 | +% |
9 | 18 | ``` |
10 | 19 | <!--endsec--> |
11 | 20 |
|
12 | | -<!--sec data-title="Prompt: Windows" data-id="windows_prompt2" data-collapse=true ces--> |
| 21 | +<!--sec data-title="Prompt: Linux" data-id="Linux_prompt" data-collapse=true ces--> |
13 | 22 |
|
14 | 23 |
|
15 | | -On Windows, you probably see a `>`, like this: |
| 24 | +If you're on Linux, you probably see a `$`, like this: |
16 | 25 |
|
17 | 26 | {% filename %}command-line{% endfilename %} |
18 | 27 | ``` |
19 | | -> |
| 28 | +$ |
20 | 29 | ``` |
| 30 | +<!--endsec--> |
21 | 31 |
|
22 | 32 | Take a look at the Linux section just above now -- you'll see something more like that when you get to PythonAnywhere later in the tutorial. |
23 | 33 |
|
24 | 34 | <!--endsec--> |
25 | 35 |
|
26 | | -Each command will be prepended by a `$` or `>` and one space, but you should not type it. Your computer will do it for you. :) |
| 36 | +Each command will be prepended by a `$` or `>` or `%` and one space, but you should not type it. Your computer will do it for you. :) |
27 | 37 |
|
28 | | -> Just a small note: in your case there may be something like `C:\Users\ola>` or `Olas-MacBook-Air:~ ola$` before the prompt sign, and this is 100% OK. |
| 38 | +> Just a small note: in your case there may be something like |
| 39 | +> `C:\Users\ola>` |
| 40 | +> or `Olas-MacBook-Air %` |
| 41 | +> or `ola@mylaptop:$` |
| 42 | +> before the prompt sign, and this is 100% OK. |
29 | 43 |
|
30 | 44 | The part up to and including the `$` or the `>` is called the *command line prompt*, or *prompt* for short. It prompts you to input something there. |
31 | 45 |
|
|
0 commit comments