No edit summary |
|||
| (66 intermediate revisions by 23 users not shown) | |||
| Line 1: | Line 1: | ||
{{Event | |||
|Title=Pythonfoo | |||
|Description=Dinge in Python | |||
|Type=Meet-Up | |||
|Date=every Thursday | |||
|ExceptDates=2024-12-26 | |||
|Start=18:00 | |||
|Host=dodo,hwmrocker,ytvwld | |||
|Location=[[Hackcenter]] und [[VirtualSpace#Hackcenter]] (auf Nachfrage) | |||
|isRelevant=Yes | |||
}} | |||
{{Project | {{Project | ||
|name=Pythonfoo | |name=Pythonfoo | ||
| Line 4: | Line 15: | ||
|project category=Meet-Up | |project category=Meet-Up | ||
|image=Pythonfoo.png | |image=Pythonfoo.png | ||
|source=https://github.com | |source=https://github.com/pythonfoo{{!}}github | ||
|status=stable | |||
}} | }} | ||
[[File:Matrixfoo.png|right|thumb|Matrixfoo - Quelle: [[User:dodo|dodo]] ]] | [[File:Matrixfoo.png|right|thumb|Matrixfoo - Quelle: [[User:dodo|dodo]] ]] | ||
| Line 18: | Line 24: | ||
Wir versuchen uns mit mehr oder weniger nützlichen Projekten Python und die Programmierung an sich gegenseitig beizubringen. | Wir versuchen uns mit mehr oder weniger nützlichen Projekten Python und die Programmierung an sich gegenseitig beizubringen. | ||
Leute, die Programmierung und/oder Python lernen wollen, sind deshalb jederzeit willkommen ;). Zur Erfüllung dieses Zieles gibt es Aufgaben, Projekte und in unregelmäßigen Abständen Vorträge über Projekte oder die Eigenheiten dieser Sprache. | |||
== Python lernen == | |||
Python ist eine leicht erlernbare Programmiersprache, da sie zum Beispiel auf manche komplizierte Eigenheiten anderer Sprachen verzichtet. | |||
Wir haben dazu einen kleinen Kurs entwickelt und die Themen in Level eingeteilt um dem ganzen eine Struktur zu geben und um an geeigneten Stellen Pausen für Aufgaben machen zu können. Unsere Beispiele, Aufgaben und Anleitungstexte finden sich auf [https://github.com/pythonfoo/pythonfooLite GitHub]. | |||
[https://chaosdorf.de/2015/06/pythonfoo-wie-geht-es-weiter/ Unsere Beweggründe für das alles] haben wir auch mal aufgeschrieben. | |||
== Projekte == | |||
Für Menschen, die schon mehr Erfahrung haben (und gerade kein eigenes Projekt, an dem sie arbeiten wollen), gibt es immer wieder mal [https://github.com/pythonfoo/challenges challenges]. Aktuell ist dies unser [https://chaosdorf.de/2024/05/pythonfoo-textadventure/ Textadventure]. | |||
== Generell == | |||
Ein tragbarer Computer mit Python | Ein tragbarer Computer mit Python (>=3.6) ist empfehlenswert. | ||
== Installation == | == Installation == | ||
| Line 26: | Line 46: | ||
== Projekte == | == Projekte == | ||
* [[Pythonfoo/Projekte|Projekte]] | * [[Pythonfoo/Projekte|Projekte]] | ||
* [https://github.com/pythonfoo/ Pythonfoo-Projekte auf | * [https://github.com/pythonfoo/ Pythonfoo-Projekte auf GitHub] | ||
* [https://github.com/ | * [https://github.com/pythonfoo/pythonfooLite Python-Kurs für Anfänger*innen auf GitHub] | ||
* [https://github.com | * [https://github.com/pythonfoo/fantasy_forge Fantasy Forge, unsers Textadventure-Baukasten] | ||
== CrashKurs Python == | == CrashKurs Python == | ||
zusätzlich zu dem Hauptkurs, finden sich hier noch ein paar weitere Links: | |||
* [https://github.com/ | * [https://github.com/pythonfoo/pythonfoo/tree/master/beginnerscorner/crashcourse-0 crashcourse-0 auf GitHub] | ||
* [https://github.com/ | * [http://pythonforbiologists.com/ Python for Biologists] - Helping biologists metamorphose into programmers | ||
* [https://github.com/rbreu/python-course Kurs für Anfänger und Sprachwechsler] | |||
* [https://github.com/pythonfoo/pythonfoo/tree/master/beginnerscorner/crashcourse-2 Crashkurs der von Oerb um einen Teil der Objektorientierten Programmierung (OOP) erweitert wurde] | |||
== | == Sonstiges == | ||
=== interesting === | === interesting === | ||
Shell öffnen und folgendes eingeben (ab Python | Shell öffnen und folgendes eingeben (ab Python 2.1.2): | ||
python | |||
import this | |||
Shell öffnen und folgendes eingeben (ab Python 2.7): | |||
python | python | ||
import antigravity | import antigravity | ||
=== IDEs === | === Texteditoren / IDEs === | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
| Line 51: | Line 76: | ||
! name+url !! license !! lang !! used by | ! name+url !! license !! lang !! used by | ||
|- | |- | ||
| [https://github.com/mbrochh/vim-as-a-python-ide Vim as a Python IDE] || free || multi || | | [http://thonny.org/ thonny] || MIT || Python > 3.4 || {{U|dodo}} | ||
|- | |||
|[https://code.visualstudio.com/ VS Code]||MIT||multi||{{U|hwmrocker}} | |||
|- | |||
| [http://www.jetbrains.com/pycharm/ PyCharm] || commercial + community ed. || Python || {{U|bison}} | |||
|- | |||
|[https://zed.dev/ Zed] || GPLv3 || multi || {{U|ytvwld}} | |||
|- | |||
| [https://github.com/mbrochh/vim-as-a-python-ide Vim as a Python IDE] || free || multi || {{U|r4mp}} | |||
|- | |- | ||
| [http://www.geany.org/ Geany] || GPLv2 || multi || {{U|bison}}, Mechtilde, Michael | | [http://www.geany.org/ Geany] || GPLv2 || multi || {{U|bison}}, Mechtilde, Michael | ||
|- | |- | ||
| [http://www.sublimetext.com/ Sublime Text 2] || commercial || multi || | | [http://www.sublimetext.com/ Sublime Text 2] || commercial || multi || {{U|marudor}}, {{U|r4mp}} | ||
|- | |- | ||
| [http://wingware.com/ Wing IDE] || commercial || Python || - | | [http://wingware.com/ Wing IDE] || commercial || Python || - | ||
| Line 63: | Line 94: | ||
| [http://eric-ide.python-projects.org/ Eric] || GPLv3 || Python || - | | [http://eric-ide.python-projects.org/ Eric] || GPLv3 || Python || - | ||
|- | |- | ||
| [https://codewith.mu/ Mu] || GPLv3 || Python || - | |||
|- | |||
| [https://codelobster.com/ Codelobster] || commercial || multi || - | |||
|} | |} | ||
More at: [http://wiki.python.org/moin/IntegratedDevelopmentEnvironments IntegratedDevelopmentEnvironments] | More at: [http://wiki.python.org/moin/IntegratedDevelopmentEnvironments IntegratedDevelopmentEnvironments] | ||
=== Frameworks === | ===Frameworks=== | ||
'''Multimedia''':<br /> | '''Multimedia''':<br /> | ||
* SFML - Simple and Fast Multimedia Library: [[PySFML]] | *SFML - Simple and Fast Multimedia Library: [[PySFML]] | ||
'''Web''':<br /> | '''Web''':<br /> | ||
* [http://bottlepy.org/docs/dev/ BottlePy] | *[http://flask.pocoo.org/ Flask] | ||
* [http://www.cherrypy.org/ CherryPy] | *[http://bottlepy.org/docs/dev/ BottlePy] | ||
*[http://www.cherrypy.org/ CherryPy] | |||
*[https://www.djangoproject.com/ Django] | |||
*[http://werkzeug.pocoo.org/ Werkzeug] | |||
'''Gaming''':<br /> | |||
*[http://www.pygame.org/news.html PyGame] | |||
'''SQL''':<br /> | |||
*sqlalchemy - | |||
... der | ===HowTos === | ||
*Einen kleinen Einstieg in die Programmiersprache gibt es unter: [http://de.wikibooks.org/wiki/Python_unter_Linux Wikibooks] | |||
*Zu empfehlen ist auch das [http://openbook.galileocomputing.de/python/ openbook] von Galileo Computing Allerdings kann man da schlecht suchen, da empfiehlt sich zB google Suche mit der site: Klausel: site:<nowiki>https://openbook.rheinwerk-verlag.de/python</nowiki> "call by value" - hier gibt es wirklich nur Treffer aus dem Buch | |||
*Geht über einen Sprachkurs hinaus auch auf einige nützliche Module ein : [https://automatetheboringstuff.com Automatetheboringstuff.com] | |||
*Auch nicht schlecht: http://www.tutorialspoint.com/python/python_basic_syntax.htm | |||
*Seems nice ;) http://www.dotnetperls.com/python | |||
*Awesome quick reference (mit Übungsaufgaben) [http://anandology.com/python-practice-book/index.html Python Practice Book] | |||
*Wie man format benutzt: [https://pyformat.info/ pyformat] | |||
*[https://pythontutor.com pythontutor.com] visualisiert den Ablauf von Programmen ganz gut in Verbindung mit der Darstellung Variablen und Listenverweisen und ihren SIchtbarkeiten | |||
=== Links === | ===Links=== | ||
*[http://www.python.org/dev/peps/pep-0008/ Recommendations for code formatting in Python (in English)] | |||
*[http://wiki.python-forum.de/PEP%208%20%28%C3%9Cbersetzung%29 Empfehlung für die Art der Code Formatierung in Python (in Deutsch)] | |||
* [http://www.python.org/dev/peps/pep-0008/ Recommendations for code formatting in Python (in English)] | *[http://doda.co/7-python-libraries-you-should-know-about doda.co - 7 schicke Libs für Python] | ||
* [http://wiki.python-forum.de/PEP%208%20%28%C3%9Cbersetzung%29 Empfehlung für die Art der Code Formatierung in Python (in Deutsch)] | *[https://pypi.org/ PyPI - the Python Package Index] | ||
Latest revision as of 17:39, 23 October 2025
| Pythonfoo | |
|---|---|
| Dinge in Python | |
| Art | Meet-Up |
| Datum | every Thursday |
| außer an | 2024-12-26 |
| Start | 18:00 |
| Host | dodo |
| Ort | Hackcenter und VirtualSpace#Hackcenter (auf Nachfrage) Property "Has location" (as page type) with input value "Hackcenter]] und VirtualSpace#Hackcenter (auf Nachfrage)" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. |
| Relevant? | Yes |
| Pythonfoo stable | |
|---|---|
| wöchentliches Treffen + Projekte | |
| Quelltext | github |
Es passieren Dinge in Python und keiner weiß was. Jeden Donnerstagabend ab ca. 18 Uhr.
Wir versuchen uns mit mehr oder weniger nützlichen Projekten Python und die Programmierung an sich gegenseitig beizubringen. Leute, die Programmierung und/oder Python lernen wollen, sind deshalb jederzeit willkommen ;). Zur Erfüllung dieses Zieles gibt es Aufgaben, Projekte und in unregelmäßigen Abständen Vorträge über Projekte oder die Eigenheiten dieser Sprache.
Python lernen[edit | edit source]
Python ist eine leicht erlernbare Programmiersprache, da sie zum Beispiel auf manche komplizierte Eigenheiten anderer Sprachen verzichtet.
Wir haben dazu einen kleinen Kurs entwickelt und die Themen in Level eingeteilt um dem ganzen eine Struktur zu geben und um an geeigneten Stellen Pausen für Aufgaben machen zu können. Unsere Beispiele, Aufgaben und Anleitungstexte finden sich auf GitHub.
Unsere Beweggründe für das alles haben wir auch mal aufgeschrieben.
Projekte[edit | edit source]
Für Menschen, die schon mehr Erfahrung haben (und gerade kein eigenes Projekt, an dem sie arbeiten wollen), gibt es immer wieder mal challenges. Aktuell ist dies unser Textadventure.
Generell[edit | edit source]
Ein tragbarer Computer mit Python (>=3.6) ist empfehlenswert.
Installation[edit | edit source]
Projekte[edit | edit source]
CrashKurs Python[edit | edit source]
zusätzlich zu dem Hauptkurs, finden sich hier noch ein paar weitere Links:
- crashcourse-0 auf GitHub
- Python for Biologists - Helping biologists metamorphose into programmers
- Kurs für Anfänger und Sprachwechsler
- Crashkurs der von Oerb um einen Teil der Objektorientierten Programmierung (OOP) erweitert wurde
Sonstiges[edit | edit source]
interesting[edit | edit source]
Shell öffnen und folgendes eingeben (ab Python 2.1.2):
python import this
Shell öffnen und folgendes eingeben (ab Python 2.7):
python import antigravity
Texteditoren / IDEs[edit | edit source]
| name+url | license | lang | used by |
|---|---|---|---|
| thonny | MIT | Python > 3.4 | dodo |
| VS Code | MIT | multi | hwmrocker |
| PyCharm | commercial + community ed. | Python | bison |
| Zed | GPLv3 | multi | ytvwld |
| Vim as a Python IDE | free | multi | r4mp |
| Geany | GPLv2 | multi | bison |
| Sublime Text 2 | commercial | multi | marudor |
| Wing IDE | commercial | Python | - |
| Eric | GPLv3 | Python | - |
| Mu | GPLv3 | Python | - |
| Codelobster | commercial | multi | - |
More at: IntegratedDevelopmentEnvironments
Frameworks[edit | edit source]
Multimedia:
- SFML - Simple and Fast Multimedia Library: PySFML
Web:
Gaming:
SQL:
- sqlalchemy -
HowTos[edit | edit source]
- Einen kleinen Einstieg in die Programmiersprache gibt es unter: Wikibooks
- Zu empfehlen ist auch das openbook von Galileo Computing Allerdings kann man da schlecht suchen, da empfiehlt sich zB google Suche mit der site: Klausel: site:https://openbook.rheinwerk-verlag.de/python "call by value" - hier gibt es wirklich nur Treffer aus dem Buch
- Geht über einen Sprachkurs hinaus auch auf einige nützliche Module ein : Automatetheboringstuff.com
- Auch nicht schlecht: http://www.tutorialspoint.com/python/python_basic_syntax.htm
- Seems nice ;) http://www.dotnetperls.com/python
- Awesome quick reference (mit Übungsaufgaben) Python Practice Book
- Wie man format benutzt: pyformat
- pythontutor.com visualisiert den Ablauf von Programmen ganz gut in Verbindung mit der Darstellung Variablen und Listenverweisen und ihren SIchtbarkeiten