Skip to content

Commit 3b2fc4c

Browse files
committed
Fix kbd etc. markup.
1 parent 6555ebb commit 3b2fc4c

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

‎source/getting_started.rst‎

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,12 @@ likely want to open :program:`Gnome Terminal`. It should present a prompt like t
107107
Opening a console on Windows
108108
----------------------------
109109

110-
Window's console is called the Command Prompt, named :program:`cmd`.
111-
An easy way to get to it is by using the key combination "Windows+R"
112-
('Windows' meaning the windows logo button), which should open a 'Run' dialog.
113-
Then type :kbd:`cmd` and hit :kbd:`<Enter>` or click Ok. You can also search
114-
for it from the start menu. It should look like::
110+
Window's console is called the Command Prompt, named :program:`cmd`. An easy
111+
way to get to it is by using the key combination :kbd:`Windows+R`
112+
(:kbd:`Windows` meaning the windows logo button), which should open a
113+
:guilabel:`Run` dialog. Then type :program:`cmd` and hit :kbd:`Enter` or
114+
click :guilabel:`Ok`. You can also search for it from the start menu. It should
115+
look like::
115116

116117
C:\Users\myusername>
117118

@@ -127,7 +128,7 @@ The python program that you have installed will by default act as something
127128
called an **interpreter**. An interpreter takes commands and runs them as you
128129
enter them - very handy for trying things out.
129130

130-
Just type :program:`python` at your console, hit :kbd:`<Enter>`, and you should
131+
Just type :program:`python` at your console, hit :kbd:`Enter`, and you should
131132
enter Python's Interpreter.
132133

133134
To find out which version of python you're running,
@@ -153,7 +154,7 @@ You can now enter some python code. Try::
153154

154155
print("Hello world")
155156

156-
Press :kbd:`<Enter>` and see what happens. After showing the results, Python
157+
Press :kbd:`Enter` and see what happens. After showing the results, Python
157158
will bring you back to the interactive prompt, where you could enter
158159
another command::
159160

@@ -179,10 +180,10 @@ Instead you can save your code to a file and pass a file name to the
179180
:program:`python` executable. It will execute that file instead of launching
180181
the interactive interpreter.
181182

182-
**Let's try that**. Create a file :file:`hello.py` in your current directory
183-
with your favorite text editor and write the print command from above. Now
184-
save that file. On Linux or OS X, you can also run :kbd:`touch hello.py` to
185-
create an empty file to edit. To run this file with python, it's pretty easy:
183+
**Let's try that**. Create a file :file:`hello.py` in your current directory
184+
with your favorite text editor and write the print command from above. Now
185+
save that file. On Linux or OS X, you can also run ``touch hello.py`` to create
186+
an empty file to edit. To run this file with python, it's pretty easy:
186187

187188
.. code-block:: bash
188189
@@ -195,7 +196,7 @@ create an empty file to edit. To run this file with python, it's pretty easy:
195196

196197
On Windows you should also be able to double-click the Python file to run it.
197198

198-
When pressing :kbd:`<Enter>` now, the file is executed and you see the output
199+
When pressing :kbd:`Enter` now, the file is executed and you see the output
199200
as before. But this time, after Python finished executing all commands from
200201
that file it exits back to the system command prompt, instead of going back
201202
to the interactive shell.

0 commit comments

Comments
 (0)