Skip to content

Commit ffcf2e9

Browse files
committed
Rebuild German translation to fix markup.
1 parent 13d6194 commit ffcf2e9

File tree

3 files changed

+33
-18
lines changed

3 files changed

+33
-18
lines changed

de/_sources/getting_started.txt

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.

de/getting_started.html

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,12 @@ <h3>Eine Konsole unter Linux öffnen<a class="headerlink" href="#opening-a-conso
108108
</div>
109109
<div class="section" id="opening-a-console-on-windows">
110110
<h3>Eine Konsole unter Windows öffnen<a class="headerlink" href="#opening-a-console-on-windows" title="Permalink zu dieser Überschrift"></a></h3>
111-
<p>Die Konsole in Windows wird Kommandozeilenaufforderung genannt, oder <strong class="program">cmd</strong>. Ein einfacher Weg sie zu öffnen ist durch das Tastenkürzel &#8220;Windows+R&#8221; (wobei &#8216;Windows&#8217; den Knopf mit dem Windows-Logo meint), welches einen &#8216;Ausführen&#8217;-Dialog öffnen sollte. Tippe dann <a href="#id1"><span class="problematic" id="id2">:kdb:`cmd`</span></a> und drück :kbd:<a href="#id3"><span class="problematic" id="id4">`</span></a>Enter`oder klick Ok. Du kannst danach auch im Startmenü suchen. Es sollte wie folgt aussehen:</p>
111+
<p>Window&#8217;s console is called the Command Prompt, named <strong class="program">cmd</strong>. An easy
112+
way to get to it is by using the key combination <tt class="kbd docutils literal"><span class="pre">Windows+R</span></tt>
113+
(<tt class="kbd docutils literal"><span class="pre">Windows</span></tt> meaning the windows logo button), which should open a
114+
<em class="guilabel">Run</em> dialog. Then type <strong class="program">cmd</strong> and hit <tt class="kbd docutils literal"><span class="pre">Enter</span></tt> or
115+
click <em class="guilabel">Ok</em>. You can also search for it from the start menu. It should
116+
look like:</p>
112117
<div class="highlight-python"><div class="highlight"><pre>C:\Users\myusername&gt;
113118
</pre></div>
114119
</div>
@@ -118,7 +123,8 @@ <h3>Eine Konsole unter Windows öffnen<a class="headerlink" href="#opening-a-con
118123
<div class="section" id="using-python">
119124
<h2>Python verwenden<a class="headerlink" href="#using-python" title="Permalink zu dieser Überschrift"></a></h2>
120125
<p>Das Pythonprogramm das du installiert hast agiert standardmäßig als etwas das sich <strong>Interpreter</strong> nennt. Ein Interpreter nimmt Befehle entgegen und führt sie dann aus &#8211; sehr praktisch um Dinge auszuprobieren.</p>
121-
<p>Tippe in Deiner Konsole ein <strong class="program">python</strong>, drücke <a href="#id1"><span class="problematic" id="id2">:kdb:`&lt;Enter&gt;`</span></a>, und der Python-Interpreter sollte starten.</p>
126+
<p>Just type <strong class="program">python</strong> at your console, hit <tt class="kbd docutils literal"><span class="pre">Enter</span></tt>, and you should
127+
enter Python&#8217;s Interpreter.</p>
122128
<p>Um herauszufinden welche Version von Python du hast, benutz <tt class="docutils literal"><span class="pre">python</span> <span class="pre">-V</span></tt> um es dir sagen zu lassen.</p>
123129
<div class="section" id="interacting-with-python">
124130
<h3>Mit Python interagieren<a class="headerlink" href="#interacting-with-python" title="Permalink zu dieser Überschrift"></a></h3>
@@ -137,7 +143,9 @@ <h3>Mit Python interagieren<a class="headerlink" href="#interacting-with-python"
137143
<div class="highlight-python"><div class="highlight"><pre><span class="k">print</span><span class="p">(</span><span class="s">&quot;Hello world&quot;</span><span class="p">)</span>
138144
</pre></div>
139145
</div>
140-
<p>Drücke :kbd:&#8217;&lt;Enter&gt;&#8217; und sieh was passiert. Nachdem Python Dir die Ergebnisse angezeigt hat, gelangst Du zurück zum interaktiven Prompt wo Du einen weiteren Befehl eingeben kannst:</p>
146+
<p>Press <tt class="kbd docutils literal"><span class="pre">Enter</span></tt> and see what happens. After showing the results, Python
147+
will bring you back to the interactive prompt, where you could enter
148+
another command:</p>
141149
<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="k">print</span><span class="p">(</span><span class="s">&quot;Hello world&quot;</span><span class="p">)</span>
142150
<span class="go">Hello world</span>
143151
<span class="gp">&gt;&gt;&gt; </span><span class="p">(</span><span class="mi">1</span> <span class="o">+</span> <span class="mi">4</span><span class="p">)</span> <span class="o">*</span> <span class="mi">2</span>
@@ -150,7 +158,10 @@ <h3>Mit Python interagieren<a class="headerlink" href="#interacting-with-python"
150158
<div class="section" id="running-python-files">
151159
<h3>Pythonprogramme ausführen<a class="headerlink" href="#running-python-files" title="Permalink zu dieser Überschrift"></a></h3>
152160
<p>Falls du viel Pythonquelltext auszuführen hast wirst du ihn in eine Datei speichern wollen damit du zum Beispiel kleine Stücke verändern kannst (einen Fehler beheben) und es nochmal ausführen kannst ohne den Rest wieder und wieder einzutippen. Stattdessen kannst du deinen Quelltext in eine Datei speichern und den Dateinamen an das <strong class="program">python</strong>-Programm liefern. Es wird dann diese Datei ausführen statt den interaktiven Interpreter auszuführen.</p>
153-
<p><strong>Lass uns das ausprobieren</strong>. Erstelle eine Datei <tt class="file docutils literal"><span class="pre">hello.py</span></tt> in deinem aktuellen Verzeichnis mit deinem Lieblingseditor und schreibe den print-Befehl von oben. Jetzt speicher die Datei. Unter Linux und OS X kannst du auch <a href="#id1"><span class="problematic" id="id2">:kdb:`touch hello.py`</span></a> ausführen um eine leere Datei zu erstellen. Diese Datei mit Python auszuführen ist ganz einfach:</p>
161+
<p><strong>Let&#8217;s try that</strong>. Create a file <tt class="file docutils literal"><span class="pre">hello.py</span></tt> in your current directory
162+
with your favorite text editor and write the print command from above. Now
163+
save that file. On Linux or OS X, you can also run <tt class="docutils literal"><span class="pre">touch</span> <span class="pre">hello.py</span></tt> to create
164+
an empty file to edit. To run this file with python, it&#8217;s pretty easy:</p>
154165
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>python hello.py
155166
</pre></div>
156167
</div>
@@ -159,7 +170,10 @@ <h3>Pythonprogramme ausführen<a class="headerlink" href="#running-python-files"
159170
<p class="last">Versichere dich, dass du dich in der Kommandozeile befindest, die du an <tt class="docutils literal"><span class="pre">$</span></tt> oder <tt class="docutils literal"><span class="pre">&gt;</span></tt> am Ende erkennst, nicht in Pythons (welche <tt class="docutils literal"><span class="pre">&gt;&gt;&gt;</span></tt> hat).</p>
160171
</div>
161172
<p>Unter Windows solltest du doppelt auf die Pythondatei klicken können um sie auszuführen.</p>
162-
<p>Wenn Du nun :kbd:&#8217;&lt;Enter&gt;&#8217; drückst, wird das Programm in der Datei ausgeführt, und Du siehst die gleiche Ausgabe wie zuvor. Aber diesmal kehrt Python nach Ausführen der Befehle in der Datei zurück zur Kommandozeile Deines Betriebssystems anstatt in den Interpreter.</p>
173+
<p>When pressing <tt class="kbd docutils literal"><span class="pre">Enter</span></tt> now, the file is executed and you see the output
174+
as before. But this time, after Python finished executing all commands from
175+
that file it exits back to the system command prompt, instead of going back
176+
to the interactive shell.</p>
163177
<p>Wir sind jetzt startklar und können mit der Schildkröte anfangen!</p>
164178
<div class="admonition note">
165179
<p class="first admonition-title">Bemerkung</p>

0 commit comments

Comments
 (0)