Skip to content

Commit f99370d

Browse files
committed
Added Execution in Windows
Currently coaching and I realized Many people following the tutorial and using windows OS are running into the same mistake. I was thinking putting a reminder of 'python' instead of 'python3' could make things easier
1 parent 030a7c9 commit f99370d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

en/python_introduction/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,9 @@ Now use Python to execute the code in the file like this:
468468

469469
$ python3 python_intro.py
470470
Hello, Django girls!
471+
Note: on windows 'python3' is not recognized as a command, instead use 'python' to execute the file:
472+
473+
> python python_intro.py
471474

472475
Alright! You just ran your first Python program that was saved to a file. Feel awesome?
473476

@@ -503,7 +506,7 @@ Save it and give it another run:
503506

504507
$ python3 python_intro.py
505508
It works!
506-
509+
Note: Remember for Windows 'python3' is not recognized as a command, Henceforth, Replace 'python3' with 'python' to execute the file
507510
### What if a condition isn't True?
508511

509512
In previous examples, code was executed only when the conditions were True. But Python also has `elif` and `else` statements:

0 commit comments

Comments
 (0)