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>We use Python throughout the class. We further use some additional packages, installing them individually can be unnecessarily complicated. Hence, we recommend installing Miniconda, which comes with Python (please use 3.x) and the package manager Conda.</p>
@@ -8176,6 +8183,40 @@ <h2 id="creating-an-conda-environment-from-an-environmentyml-file">Creating an C
8176
8183
<li>
8177
8184
<p>Packaging in Python is still not yet completely free of pain, hence it is recommended to stay - if possible - within one realm (in our case Conda!), when you start to build more complex and sophisticated software.</p>
8178
8185
</li>
8186
+
</ul>
8187
+
<h1 id="python">Python</h1>
8188
+
<h2 id="launching-python">Launching Python</h2>
8189
+
<ul>
8190
+
<li>
8191
+
<p>From your newly created conda environment you can launch the Python interpreter using (make sure, that you are in the right conda environment! Reminder: You can change the enviroment using <code>conda activate environment_name</code>):</p>
8192
+
<pre><code><code><div>(fupy) aleks@pc$ python
8193
+
Python 3.8.5 (default, Sep 4 2020, 07:30:14)
8194
+
[GCC 7.3.0] :: Anaconda, Inc. on linux
8195
+
Type "help", "copyright", "credits" or "license" for more information.
8196
+
>>>
8197
+
</div></code></code></pre>
8198
+
</li>
8199
+
</ul>
8200
+
<h2 id="launching-an-python-application">Launching an Python Application</h2>
8201
+
<ul>
8202
+
<li>
8203
+
<p>Use <code>cd</code>, <code>ls</code> (and <code>pwd</code>) to navigate to the location you created/downloaded a Python file (ending with <code>.py</code>)</p>
8204
+
<pre><code><code><div>(fupy) aleks@pc$ ls
8205
+
Desktop Documents Downloads Music Pictures Public Uni Videos
8206
+
8207
+
(fupy) aleks@pc$ cd Uni/abv_dataanalysis_python/01_2020_11_06
0 commit comments