<commit_before><doc>
<contents_area>
<div id="Content" style="padding: 5px;">
<p>Ok, now that you're already up and running, let's <b>run a program from within Eclipse</b> with PyDev.</p>

<p>For that, we will extend the module we created in the previous chapter with the following program:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<div class="highlight" style="background: #f8f8f8"><pre style="line-height: 125%"><span style="color: #008000; font-weight: bold">if</span> __name__ <span style="color: #666666">==</span> <span style="color: #BA2121">&#39;__main__&#39;</span>:
    <span style="color: #008000; font-weight: bold">print</span> <span style="color: #BA2121">&#39;Hello World&#39;</span>
</pre></div>

</div></div>
<p>Then, to run the file you can:</p>

<ul class="alternate" type="square">
	<li>Use a shortcut: <b>F9</b> to run based on the project configuration where the module is contained.</li>
	<li>Go to the menu: Alt + R + S + The number of the Run you wish (It can be Python, Jython, unit-test, etc).</li>
	<li>Note: if you were using <b>unit-tests</b>, you could use: <b>Ctrl+F9</b> to run the unit-tests from the module (and even selecting which tests should be run).</li>
</ul>
<commit_msg>Updating homepage: Shift+F9 now launches in debug and having Shift pressed on Ctrl+F9 will also launch in debug.<commit_after><doc>
<contents_area>
<div id="Content" style="padding: 5px;">
<p>Ok, now that you're already up and running, let's <b>run a program from within Eclipse</b> with PyDev.</p>

<p>For that, we will extend the module we created in the previous chapter with the following program:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<div class="highlight" style="background: #f8f8f8"><pre style="line-height: 125%"><span style="color: #008000; font-weight: bold">if</span> __name__ <span style="color: #666666">==</span> <span style="color: #BA2121">&#39;__main__&#39;</span>:
    <span style="color: #008000; font-weight: bold">print</span> <span style="color: #BA2121">&#39;Hello World&#39;</span>
</pre></div>

</div></div>
<p>Then, to run the file you can:</p>

<ul class="alternate" type="square">
	<li>Use a shortcut: <b>F9</b> to run based on the project configuration where the module is contained (or for debug mode <b>Shift+F9</b>).</li>
	<li>Go to the menu: Alt + R + S + The number of the Run you wish (It can be Python, Jython, unit-test, etc).</li>
	<li>Note: if you were using <b>unit-tests</b>, you could use: <b>Ctrl+F9</b> to run the unit-tests from the module (and even selecting which tests should be run -- and if <b>Shift</b> is pressed it's launched in debug mode).</li>
</ul>

{'fraction_non_alphanumeric': 0.17283046503112412, 'fraction_numerical': 0.033321127792017576, 'mean_word_length': 5.4282352941176475, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 93, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1920750', 'n_tokens_mistral': 976, 'n_tokens_neox': 904, 'n_words': 328}