<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://vor.ivo-s.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://vor.ivo-s.de/feed.php">
        <title>Wiki mit Mathe drin - meins:python</title>
        <description></description>
        <link>https://vor.ivo-s.de/</link>
        <image rdf:resource="https://vor.ivo-s.de/_media/wiki/logo.svg" />
       <dc:date>2026-05-19T20:08:18+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://vor.ivo-s.de/meins/python/dateihandling?rev=1465122968&amp;do=diff"/>
                <rdf:li rdf:resource="https://vor.ivo-s.de/meins/python/dictionary?rev=1468254634&amp;do=diff"/>
                <rdf:li rdf:resource="https://vor.ivo-s.de/meins/python/methoden-und-parameter?rev=1465411555&amp;do=diff"/>
                <rdf:li rdf:resource="https://vor.ivo-s.de/meins/python/parameteruebergabe?rev=1465122524&amp;do=diff"/>
                <rdf:li rdf:resource="https://vor.ivo-s.de/meins/python/sequentielle-datentypen?rev=1541088233&amp;do=diff"/>
                <rdf:li rdf:resource="https://vor.ivo-s.de/meins/python/start?rev=1468324094&amp;do=diff"/>
                <rdf:li rdf:resource="https://vor.ivo-s.de/meins/python/strings-und-print?rev=1465122359&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://vor.ivo-s.de/_media/wiki/logo.svg">
        <title>Wiki mit Mathe drin</title>
        <link>https://vor.ivo-s.de/</link>
        <url>https://vor.ivo-s.de/_media/wiki/logo.svg</url>
    </image>
    <item rdf:about="https://vor.ivo-s.de/meins/python/dateihandling?rev=1465122968&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-06-05T10:36:08+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Umgang mit Dateien</title>
        <link>https://vor.ivo-s.de/meins/python/dateihandling?rev=1465122968&amp;do=diff</link>
        <description>Umgang mit Dateien

&lt;http://learnpythonthehardway.org/book/ex15.html&gt;


from sys import argv

# Aufruf mit &#039;python script.py textdatei.txt&#039;
script, filename = argv

# Datei öffnen
txt = open(filename)

# Inhalt der Datei ausgeben
print txt.read()</description>
    </item>
    <item rdf:about="https://vor.ivo-s.de/meins/python/dictionary?rev=1468254634&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-07-11T16:30:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Dictionarys</title>
        <link>https://vor.ivo-s.de/meins/python/dictionary?rev=1468254634&amp;do=diff</link>
        <description>Dictionarys

Allgemeines

	*  woerterbuch = {„Germany“ : „Deutschland“, „Spain“ : „Spanien“}

Link</description>
    </item>
    <item rdf:about="https://vor.ivo-s.de/meins/python/methoden-und-parameter?rev=1465411555&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-06-08T18:45:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Methoden &amp; Parameter</title>
        <link>https://vor.ivo-s.de/meins/python/methoden-und-parameter?rev=1465411555&amp;do=diff</link>
        <description>Methoden &amp; Parameter


var = 12 
referenz.methode(var, &quot;Hallo Welt!&quot;)


	*  methode wird an referenz ausgeführt
	*  Parameter können Variablen (Referenzen) oder Literale (Strings, ints, floats, ...) sein
	*  Schlüsselwortparameter:


# ohne Schlüsselwort
referenz.methode(1, 2, 3)
# mit Schlüsselwort, Reihenfolge egal
referenz.methode(param2=2, param1=1, param3=3)
# Gemischt
referenz.methode(1, param3=3, param2=2)</description>
    </item>
    <item rdf:about="https://vor.ivo-s.de/meins/python/parameteruebergabe?rev=1465122524&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-06-05T10:28:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Parameterübergabe mit argv</title>
        <link>https://vor.ivo-s.de/meins/python/parameteruebergabe?rev=1465122524&amp;do=diff</link>
        <description>Parameterübergabe mit argv

&lt;http://learnpythonthehardway.org/book/ex13.html&gt;


from sys import argv

script, first, second, third = argv

print &quot;The script is called:&quot;, script
print &quot;Your first variable is:&quot;, first
print &quot;Your second variable is:&quot;, second
print &quot;Your third variable is:&quot;, third</description>
    </item>
    <item rdf:about="https://vor.ivo-s.de/meins/python/sequentielle-datentypen?rev=1541088233&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-01T16:03:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Sequenzielle Datentypen</title>
        <link>https://vor.ivo-s.de/meins/python/sequentielle-datentypen?rev=1541088233&amp;do=diff</link>
        <description>Sequenzielle Datentypen

Allgemeins

	*  str, unicode, list und tuple
	*  list ist ein mutable (änderbar), tuple ein immutable (nicht änderbar) Datentyp

Operatoren für sequenzielle Datentypen

	*  x in s: Prüfung, ob x in s, gibt bool zurück
	*</description>
    </item>
    <item rdf:about="https://vor.ivo-s.de/meins/python/start?rev=1468324094&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-07-12T11:48:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Python</title>
        <link>https://vor.ivo-s.de/meins/python/start?rev=1468324094&amp;do=diff</link>
        <description>Python

	*  Strings und print
	*  Parameterübergabe mit argv
	*  Umgang mit Dateien
	*  Methoden &amp; Parameter
	*  Sequenzielle Datentypen (Strings, Listen, Tupel)
	*  Dictionarys (key:value-Paare)</description>
    </item>
    <item rdf:about="https://vor.ivo-s.de/meins/python/strings-und-print?rev=1465122359&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-06-05T10:25:59+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Strings und print</title>
        <link>https://vor.ivo-s.de/meins/python/strings-und-print?rev=1465122359&amp;do=diff</link>
        <description>Strings und print

UTF-8 :)


# -*- coding: utf-8 -*-


Formatter

&lt;http://learnpythonthehardway.org/book/ex5.html&gt;

	*  %d: signed integer decimal
	*  %s: string
	*  %r: raw (for debugging)


# string
my_name = &#039;Zed A. Shaw&#039;

# integer
my_age = 35 # not a lie
my_height = 74 # inches
my_weight = 180 # lbs

# string
my_eyes = &#039;Blue&#039;
my_teeth = &#039;White&#039;
my_hair = &#039;Brown&#039;

# nicht so interessant
print &quot;Let&#039;s talk about %s.&quot; % my_name
print &quot;He&#039;s %d inches tall.&quot; % my_height
print &quot;He&#039;s %d pounds hea…</description>
    </item>
</rdf:RDF>
