You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>A read–eval–print loop (REPL) is a simple interactive computer programming environment that takes single user inputs, executes them, and returns the result to the user.</p>
437
437
</blockquote>
438
-
<p>If type <code>uv run python</code> in our terminal and hit enter, we get into the built-in python REPL.</p>
438
+
<p>If we type <code>uv run python</code> in our terminal and hit enter, we get into the built-in python REPL.</p>
439
439
<p>The built-in python REPL is fine, but as of today (October 2024) it has some limitations.</p>
@@ -473,7 +473,7 @@ <h2 data-number="2.3" class="anchored" data-anchor-id="ipython-repl"><span class
473
473
<p>The IPython REPL brings some nice features that make this interactive coding environment much powerful and handy to interact with, such as <ahref="https://ipython.readthedocs.io/en/stable/interactive/magics.html#built-in-magic-commands">magic commands</a>. These are some commands I recommend checking out:</p>
474
474
<ul>
475
475
<li><code>?</code></li>
476
-
<li><code>! <COMMAND></code>: Call the system COMMAND, eg <code>!ls</code> to list contents.</li>
476
+
<li><code>! <COMMAND></code>: Call the system COMMAND, eg <code>!ls</code> to list contents of current directory.</li>
477
477
<li><code>%run</code>: Run a file inside IPython as a program.</li>
478
478
<li><code>%time</code>: Time execution of a Python statement or expression.</li>
479
479
<li><code>%timeit</code>: Time execution of a Python statement or expression.</li>
<p>When editing code more extensively we also want to have a so called integrated development environment (IDE). There are many options out there. Do not spend too much time deciding which to pick, you can always change your choice later.<br>
498
-
<ahref="https://code.visualstudio.com/">VS-Code</a> is a reasonable general choice as of today, it is free and widely adopted. For a user experience more similar to matlab and oriented to scientific computing you can check out <ahref="https://www.spyder-ide.org">Spyder</a>.</p>
498
+
<ahref="https://code.visualstudio.com/">VS-Code</a> is a reasonable general choice as of today, it is free and widely adopted. For a user experience more similar to matlab or R-studio and oriented to scientific computing you can check out <ahref="https://www.spyder-ide.org">Spyder</a>.</p>
<p>Notebooks run on the browser and are a way to mix code with other kinds of data, such as images, videos or widgets. They are a very useful tool for explorative analysis. If you ever used something like Mathematica you’ll be already familiar with them.</p>
502
+
<p>Notebooks run on the browser and are a way to mix code with other kinds of data, such as images, videos or widgets. They are a very useful tool for explorative analysis. If you ever used something like <ahref="https://www.wolfram.com/mathematica/">Mathematica</a> you’ll be already familiar with them.</p>
503
503
<p>There are several versions of notebooks, we are going to use <ahref="https://jupyterlab.readthedocs.io/en/latest/">JupyterLab</a>. Let’s install it:</p>
0 commit comments