<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://mediawiki.wissen-ahrensburg.de/index.php?action=history&amp;feed=atom&amp;title=Python</id>
	<title>Python - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://mediawiki.wissen-ahrensburg.de/index.php?action=history&amp;feed=atom&amp;title=Python"/>
	<link rel="alternate" type="text/html" href="https://mediawiki.wissen-ahrensburg.de/index.php?title=Python&amp;action=history"/>
	<updated>2026-08-19T16:51:46Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Dokument</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://mediawiki.wissen-ahrensburg.de/index.php?title=Python&amp;diff=294&amp;oldid=prev</id>
		<title>imported&gt;Import: Version 219</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.wissen-ahrensburg.de/index.php?title=Python&amp;diff=294&amp;oldid=prev"/>
		<updated>2026-03-26T03:28:02Z</updated>

		<summary type="html">&lt;p&gt;Version 219&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 26. März 2026, 03:28 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Zeile 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Einleitung ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Einleitung ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==  ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Dieser Lernpfad und Lernplan führt dich Schritt für Schritt durch die Python-Programmierung – von den Grundlagen bis hin zu fortgeschrittenen Themen. Python zeichnet sich durch seine klare Syntax und Vielseitigkeit aus und eignet sich ideal für Anfänger sowie für Profis in Bereichen wie Webentwicklung, Datenanalyse und Automatisierung.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Dieser Lernpfad und Lernplan führt dich Schritt für Schritt durch die Python-Programmierung – von den Grundlagen bis hin zu fortgeschrittenen Themen. Python zeichnet sich durch seine klare Syntax und Vielseitigkeit aus und eignet sich ideal für Anfänger sowie für Profis in Bereichen wie Webentwicklung, Datenanalyse und Automatisierung.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Import</name></author>
	</entry>
	<entry>
		<id>https://mediawiki.wissen-ahrensburg.de/index.php?title=Python&amp;diff=293&amp;oldid=prev</id>
		<title>imported&gt;Import: Version 218</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.wissen-ahrensburg.de/index.php?title=Python&amp;diff=293&amp;oldid=prev"/>
		<updated>2026-03-03T18:58:50Z</updated>

		<summary type="html">&lt;p&gt;Version 218&lt;/p&gt;
&lt;a href=&quot;https://mediawiki.wissen-ahrensburg.de/index.php?title=Python&amp;amp;diff=293&amp;amp;oldid=2483&quot;&gt;Änderungen zeigen&lt;/a&gt;</summary>
		<author><name>imported&gt;Import</name></author>
	</entry>
	<entry>
		<id>https://mediawiki.wissen-ahrensburg.de/index.php?title=Python&amp;diff=2483&amp;oldid=prev</id>
		<title>Thorsten: // via Wikitext Extension for VSCode</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.wissen-ahrensburg.de/index.php?title=Python&amp;diff=2483&amp;oldid=prev"/>
		<updated>2025-01-23T21:01:31Z</updated>

		<summary type="html">&lt;p&gt;// via Wikitext Extension for VSCode&lt;/p&gt;
&lt;a href=&quot;https://mediawiki.wissen-ahrensburg.de/index.php?title=Python&amp;amp;diff=2483&amp;amp;oldid=2482&quot;&gt;Änderungen zeigen&lt;/a&gt;</summary>
		<author><name>Thorsten</name></author>
	</entry>
	<entry>
		<id>https://mediawiki.wissen-ahrensburg.de/index.php?title=Python&amp;diff=2482&amp;oldid=prev</id>
		<title>Thorsten: // via Wikitext Extension for VSCode</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.wissen-ahrensburg.de/index.php?title=Python&amp;diff=2482&amp;oldid=prev"/>
		<updated>2025-01-23T20:44:02Z</updated>

		<summary type="html">&lt;p&gt;// via Wikitext Extension for VSCode&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Hinweis: Diese Inhalte wurden mit Unterstützung von Künstlicher Intelligenz erstellt und redaktionell überprüft (Transparenzhinweis gemäß Art. 50 EU AI Act).&lt;br /&gt;
&lt;br /&gt;
==Lernplan für die Python C-API==&lt;br /&gt;
&lt;br /&gt;
===Schritt 1: Einführung in die Python C-API===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Ziel&amp;#039;&amp;#039;&amp;#039;: Grundlegendes Verständnis der Python C-API und ihrer Verwendung.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Ressourcen&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
** [https://docs.python.org/3/c-api/index.html Python/C API Reference Manual]&lt;br /&gt;
** [https://docs.python.org/3/extending/extending.html Einführung in die Python C-API]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Aufgabe&amp;#039;&amp;#039;&amp;#039;: Lesen Sie die Einführung und machen Sie sich mit den grundlegenden Konzepten vertraut.&lt;br /&gt;
&lt;br /&gt;
===Schritt 2: Einfache Python-Funktion aus C aufrufen===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Ziel&amp;#039;&amp;#039;&amp;#039;: Eine einfache Python-Funktion aus einer C-Anwendung aufrufen.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Beispiel&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# example.py&lt;br /&gt;
def hello_world():&lt;br /&gt;
    return &amp;quot;Hallo Welt&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
// example.c&lt;br /&gt;
#include &amp;lt;Python.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main(int argc, char *argv[]) {&lt;br /&gt;
    Py_Initialize();&lt;br /&gt;
    PyRun_SimpleString(&amp;quot;import example\n&amp;quot;&lt;br /&gt;
                       &amp;quot;result = example.hello_world()\n&amp;quot;&lt;br /&gt;
                       &amp;quot;print(result)&amp;quot;);&lt;br /&gt;
    Py_Finalize();&lt;br /&gt;
    return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Aufgabe&amp;#039;&amp;#039;&amp;#039;: Kompilieren und ausführen des C-Programms.&lt;br /&gt;
&lt;br /&gt;
===Schritt 3: Komplexere Python-Funktionen aufrufen===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Ziel&amp;#039;&amp;#039;&amp;#039;: Komplexere Python-Funktionen aus C aufrufen und deren Rückgabewerte verarbeiten.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Beispiel&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# example.py&lt;br /&gt;
def add(a, b):&lt;br /&gt;
    return a + b&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
// example.c&lt;br /&gt;
#include &amp;lt;Python.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int main(int argc, char *argv[]) {&lt;br /&gt;
    Py_Initialize();&lt;br /&gt;
    PyRun_SimpleString(&amp;quot;import example\n&amp;quot;&lt;br /&gt;
                       &amp;quot;result = example.add(3, 4)\n&amp;quot;&lt;br /&gt;
                       &amp;quot;print(result)&amp;quot;);&lt;br /&gt;
    Py_Finalize();&lt;br /&gt;
    return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Aufgabe&amp;#039;&amp;#039;&amp;#039;: Kompilieren und ausführen des C-Programms.&lt;br /&gt;
&lt;br /&gt;
===Schritt 4: Fehlerbehandlung und Debugging===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Ziel&amp;#039;&amp;#039;&amp;#039;: Fehlerbehandlung und Debugging in der Python C-API verstehen.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Ressourcen&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
** [https://docs.python.org/3/c-api/exceptions.html Python/C API Error Handling]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Aufgabe&amp;#039;&amp;#039;&amp;#039;: Fehler in den vorherigen Beispielen absichtlich einfügen und behandeln.&lt;br /&gt;
&lt;br /&gt;
===Schritt 5: Python-Objekte und -Typen===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Ziel&amp;#039;&amp;#039;&amp;#039;: Verstehen, wie man mit Python-Objekten und -Typen in C arbeitet.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Ressourcen&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
** [https://docs.python.org/3/c-api/objects.html Python/C API Object]&lt;br /&gt;
** [https://docs.python.org/3/c-api/type.html Python/C API Type]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Aufgabe&amp;#039;&amp;#039;&amp;#039;: Erstellen und Manipulieren von Python-Objekten in C.&lt;br /&gt;
&lt;br /&gt;
===Schritt 6: Erweiterungsmodule schreiben===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Ziel&amp;#039;&amp;#039;&amp;#039;: Ein eigenes Python-Erweiterungsmodul in C schreiben.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Beispiel&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
// mymodule.c&lt;br /&gt;
#include &amp;lt;Python.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
static PyObject* mymodule_hello(PyObject* self, PyObject* args) {&lt;br /&gt;
    return Py_BuildValue(&amp;quot;s&amp;quot;, &amp;quot;Hallo Welt&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
static PyMethodDef MyModuleMethods[] = {&lt;br /&gt;
    {&amp;quot;hello&amp;quot;, mymodule_hello, METH_VARARGS, &amp;quot;Gibt &amp;#039;Hallo Welt&amp;#039; zurück.&amp;quot;},&lt;br /&gt;
    {NULL, NULL, 0, NULL}&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
static struct PyModuleDef mymodule = {&lt;br /&gt;
    PyModuleDef_HEAD_INIT,&lt;br /&gt;
    &amp;quot;mymodule&amp;quot;,&lt;br /&gt;
    NULL,&lt;br /&gt;
    -1,&lt;br /&gt;
    MyModuleMethods&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
PyMODINIT_FUNC PyInit_mymodule(void) {&lt;br /&gt;
    return PyModule_Create(&amp;amp;mymodule);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Aufgabe&amp;#039;&amp;#039;&amp;#039;: Kompilieren und das Modul in Python importieren.&lt;br /&gt;
&lt;br /&gt;
===Schritt 7: Abschlussprojekt===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Ziel&amp;#039;&amp;#039;&amp;#039;: Ein kleines Projekt, das die erlernten Fähigkeiten kombiniert.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Projektidee&amp;#039;&amp;#039;&amp;#039;: Ein C-Programm, das mehrere Python-Funktionen aufruft und die Ergebnisse verarbeitet.&lt;br /&gt;
&lt;br /&gt;
===Zusammenfassung===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Ressourcen&amp;#039;&amp;#039;&amp;#039;: Nutzen Sie die offizielle Python-Dokumentation und Tutorials.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Übung&amp;#039;&amp;#039;&amp;#039;: Regelmäßiges Üben und Experimentieren mit der Python C-API.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Dokumentation&amp;#039;&amp;#039;&amp;#039;: Dokumentieren Sie Ihre Ergebnisse und Erkenntnisse.&lt;br /&gt;
&lt;br /&gt;
Viel Erfolg beim Lernen der Python C-API!&lt;br /&gt;
&lt;br /&gt;
Hinweis: Diese Inhalte wurden mit Unterstützung von Künstlicher Intelligenz erstellt und redaktionell überprüft (Transparenzhinweis gemäß Art. 50 EU AI Act).&lt;/div&gt;</summary>
		<author><name>Thorsten</name></author>
	</entry>
</feed>