Skip to content

Commit 3cbd0d7

Browse files
committed
Improve sentence about using files
1 parent 3210213 commit 3cbd0d7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/en/getting_started.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,13 @@ press <enter> and see what happens. You will now see the phrase "Hello world" ap
2828
Running Python files
2929
====================
3030

31-
But you don't want to type everything into the Python shell everytime but have a file with commands for Python to execute instead. In order to do that you can just pass a file name to the Python command in your shell and it will execute that file. Let's try that. Just open the file "hello.py" in this directory in your favourite text editor and paste the print command from above. Now save that file, go back the command line and type::
32-
would be much berrbut have a file with commands for Python to execute instead. In order to do that you can just pass a file name to the Python command in your shell and it will execute that file. Let's try that. Just open the file "hello.py" in this directory in your favourite text editor and paste the print command from above. Now save that file, go back the command line and type::
31+
But you don't want to type everything into the Python shell everytime. Instead
32+
having a file with commands and handing that to Python to execute it would be
33+
much better. In order to do that you can just pass a file name to the Python
34+
command in your shell and it will execute that file. Let's try that. Just open
35+
the file "hello.py" in this directory in your favourite text editor and paste
36+
the print command from above. Now save that file, go back the command line and
37+
type::
3338

3439
Python hello.py
3540

0 commit comments

Comments
 (0)