<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://ww8central.ww.uni-erlangen.de/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://ww8central.ww.uni-erlangen.de/feed.php">
        <title>ww8central - programming:python</title>
        <description></description>
        <link>https://ww8central.ww.uni-erlangen.de/</link>
        <image rdf:resource="https://ww8central.ww.uni-erlangen.de/_media/wiki/logo.png" />
       <dc:date>2026-04-10T10:39:42+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://ww8central.ww.uni-erlangen.de/programming/python/best_practices?rev=1652866095&amp;do=diff"/>
                <rdf:li rdf:resource="https://ww8central.ww.uni-erlangen.de/programming/python/cluster?rev=1663076898&amp;do=diff"/>
                <rdf:li rdf:resource="https://ww8central.ww.uni-erlangen.de/programming/python/ides?rev=1568122826&amp;do=diff"/>
                <rdf:li rdf:resource="https://ww8central.ww.uni-erlangen.de/programming/python/libsandtips?rev=1568119789&amp;do=diff"/>
                <rdf:li rdf:resource="https://ww8central.ww.uni-erlangen.de/programming/python/matplotlib?rev=1407854258&amp;do=diff"/>
                <rdf:li rdf:resource="https://ww8central.ww.uni-erlangen.de/programming/python/numpy?rev=1658843170&amp;do=diff"/>
                <rdf:li rdf:resource="https://ww8central.ww.uni-erlangen.de/programming/python/shapely?rev=1422436677&amp;do=diff"/>
                <rdf:li rdf:resource="https://ww8central.ww.uni-erlangen.de/programming/python/virtualenv-poetry?rev=1702618781&amp;do=diff"/>
                <rdf:li rdf:resource="https://ww8central.ww.uni-erlangen.de/programming/python/virtualenv?rev=1770379925&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://ww8central.ww.uni-erlangen.de/_media/wiki/logo.png">
        <title>ww8central</title>
        <link>https://ww8central.ww.uni-erlangen.de/</link>
        <url>https://ww8central.ww.uni-erlangen.de/_media/wiki/logo.png</url>
    </image>
    <item rdf:about="https://ww8central.ww.uni-erlangen.de/programming/python/best_practices?rev=1652866095&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-05-18T09:28:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Best Practices (Python)</title>
        <link>https://ww8central.ww.uni-erlangen.de/programming/python/best_practices?rev=1652866095&amp;do=diff</link>
        <description>Best Practices (Python)

Check if dictionary contains key, if not return default value


# not so good
if 'owner' in roledict:
    owner = roledict['owner']
else:
    owner = admin
    
# just slightly better, still not good
try:
    owner = roledict['owner']
except KeyError:
    owner = admin
    
# better
owner = roledict.get('owner', admin)</description>
    </item>
    <item rdf:about="https://ww8central.ww.uni-erlangen.de/programming/python/cluster?rev=1663076898&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-09-13T13:48:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Python on FAU-Clusters</title>
        <link>https://ww8central.ww.uni-erlangen.de/programming/python/cluster?rev=1663076898&amp;do=diff</link>
        <description>Python on FAU-Clusters

At the moment (2022) the only supported way of running python on our FAU-Clusters is by using the anaconda module (python 3.9).


module load python/3.9-anaconda



conda create -n &lt;environment_name&gt; &lt;packages&gt;



conda install  &lt;additional packages&gt;</description>
    </item>
    <item rdf:about="https://ww8central.ww.uni-erlangen.de/programming/python/ides?rev=1568122826&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-09-10T13:40:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IDEs and Editors</title>
        <link>https://ww8central.ww.uni-erlangen.de/programming/python/ides?rev=1568122826&amp;do=diff</link>
        <description>IDEs and Editors

PyCharm

The most convenient editor. see PyCharm

Spyder

see Spyder</description>
    </item>
    <item rdf:about="https://ww8central.ww.uni-erlangen.de/programming/python/libsandtips?rev=1568119789&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-09-10T12:49:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Libs and Tips</title>
        <link>https://ww8central.ww.uni-erlangen.de/programming/python/libsandtips?rev=1568119789&amp;do=diff</link>
        <description>Libs and Tips

Speeding up Numpy and Scipy

with Intel MKL and OpenMP

Test numpy and scipy


&gt;&gt;&gt; import Numpy
&gt;&gt;&gt; numpy.show_config()
&gt;&gt;&gt; numpy.test()
&gt;&gt;&gt;
&gt;&gt;&gt; import scipy
&gt;&gt;&gt; scipy.test()


Which module is used?

To determine which python module is used, the preinstalled, the owne (user lib) or something else.</description>
    </item>
    <item rdf:about="https://ww8central.ww.uni-erlangen.de/programming/python/matplotlib?rev=1407854258&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-08-12T14:37:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Matplotlib</title>
        <link>https://ww8central.ww.uni-erlangen.de/programming/python/matplotlib?rev=1407854258&amp;do=diff</link>
        <description>Matplotlib

Website

www.http://matplotlib.org/

Version: 1.4</description>
    </item>
    <item rdf:about="https://ww8central.ww.uni-erlangen.de/programming/python/numpy?rev=1658843170&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-07-26T13:46:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>NumPy</title>
        <link>https://ww8central.ww.uni-erlangen.de/programming/python/numpy?rev=1658843170&amp;do=diff</link>
        <description>NumPy



Website

&lt;http://numpy.scipy.org&gt;

NumPy 1.11.2

NumExpr 2.6.1

optimized NUMPY (pip)

With preloading flexiblas (wrapper for openblas) you can change the openblas (serial/parallel) during runtime.


LD_PRELOAD=/lib64/libflexiblas.so.3.2 
pip install --no-binary :numpy: numpy</description>
    </item>
    <item rdf:about="https://ww8central.ww.uni-erlangen.de/programming/python/shapely?rev=1422436677&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-01-28T09:17:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Shapely</title>
        <link>https://ww8central.ww.uni-erlangen.de/programming/python/shapely?rev=1422436677&amp;do=diff</link>
        <description>Shapely

Shapely (Python)

&lt;https://pypi.python.org/pypi/Shapely&gt;

Non optimized, minimal Build:

 Compiler gcc-4.9

requires:

GEOS

Install

Set the correct library path


export LD_LIBRARY_PATH=/usr/net/lib/geos-3.4.2-gcc4.9/lib/:$LD_LIBRARY_PATH


install with correct compiler flags


CFLAGS=`/usr/net/lib/geos-3.4.2-gcc4.9/bin/geos-config --cflags` LDFLAGS=`/usr/net/lib/geos-3.4.2-gcc4.9/bin/geos-config --clibs` pip install shapely</description>
    </item>
    <item rdf:about="https://ww8central.ww.uni-erlangen.de/programming/python/virtualenv-poetry?rev=1702618781&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-12-15T05:39:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Virtual Python Environment with Poetry</title>
        <link>https://ww8central.ww.uni-erlangen.de/programming/python/virtualenv-poetry?rev=1702618781&amp;do=diff</link>
        <description>Virtual Python Environment with Poetry

Online Documentation

&lt;https://python-poetry.org/&gt;

&lt;https://python-poetry.org/docs/&gt; (prefered)

Introduction

How to Create and Use Virtual Environments  

in Python With Poetry 
With ArjanCodes on YouTube

Python virtual environments are the common way to install and collect all python packages required for a specific project.</description>
    </item>
    <item rdf:about="https://ww8central.ww.uni-erlangen.de/programming/python/virtualenv?rev=1770379925&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-02-06T12:12:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Virtual Python Environment</title>
        <link>https://ww8central.ww.uni-erlangen.de/programming/python/virtualenv?rev=1770379925&amp;do=diff</link>
        <description>Virtual Python Environment

Online Documentation

Virtual environment wrapper (prefered)

Python Virtual Environments

Python virtual environments are the common way to install and collect all python packages required for a specific project.

Setup

The setup process for your personal virtual environment is also described in</description>
    </item>
</rdf:RDF>
