Skip to content

fsj-digital/Python-Crashkurs-2021

Repository files navigation

Python-Kurs

Informationen zur Benutzung und Installation von Jupyter Notebook

Möglichkeiten:

  • Jupyter Notebooks ohne Installation von Jupyter Notebook öffnen, mithilfe von der Website "Binder"
  • Installation von Jupyter Notebook über PIP
  • Installation von Jupyter Notebook durch Herunterladen von Anaconda/Miniconda

Jupyter Notebooks ohne Installation von Jupyter Notebook öffnen, mithilfe von der Website "Binder"

  1. Öffne die Jupyter Notebook-Datei, die du in Binder öffnen willst, erstmal in NBviewer (https://nbviewer.org/)
  2. Auf der NBviewer-Website, wenn ein Jupyter Notebook geöffnet wurde: oben, das zweite Symbol von rechts. Wenn die Maus auf dieses Symbol bewegt wird erscheint der Text "Execute on Binder". Klicke auf dieses Symbol.
  3. Nach Klicken wirst du zu einer Website weitergeleitet, wo ein animiertes Lade-Symbol ist. Wenn das passiert musst du warten, bis das Notebook fertig geladen wurde.
  4. Wenn es fertig geladen wurde, wirst du wieder weitergeleitet. Dann kannst du das Notebook bearbeiten.
  5. Wenn du speichern oder laden willst, benutze das Symbol mit einer Wolke und einem Pfeil nach oben/unten, dass bei Mouseover "Save to browser storage"/"Restore from browser storage" sagt. (Wenn du das Notebook als Datei herunterladen willst, klicke auf "Download". Du kannst Notebooks von deinem Computer leider nur mit Umwegen in Binder öffnen.)

Installation von Jupyter Notebook über PIP

  1. Prüfe, ob PIP schon installiert ist mit pip --version. Wenn ja, springe zu Schritt 3.
  2. Lade Python herunter von https://www.python.org/downloads/ und installiere es. PIP ist der Python-Paketmanager und wird automatisch mitgeliefert.
  3. Öffne die Konsole/das Terminal und gebe folgendes ein: pip install notebook
  4. Starte Jupyter Notebook, indem du in der Konsole /dem Terminal jupyter notebook eingibst. Jupyter Notebook öffnet dann die Benutzeroberfläche im Browser.

Installation von Jupyter Notebook durch Herunterladen von Anaconda Der Nachteil von Anaconda ist, dass es viel Speicherplatz verbraucht. Der Vorteil ist, dass mehrere Sachen heruntergeladen werden, die vielleicht irgendwann mal nützlich werden.

  1. Lade Anaconda herunter über https://www.anaconda.com/products/individual und installiere es
  2. Öffne das Programm "Anaconda navigator"
  3. Öffne Jupyter Notebook mithilfe des Anaconda Navigator

Installation von Jupyter Notebook durch Herunterladen von Miniconda

  1. Lade Miniconda herunter über https://docs.conda.io/en/latest/miniconda.html
  2. öffne das Programm "Anaconda prompt"
  3. Installiere Jupyter Notebook mit dem Befehl conda install jupyter
  4. öffne Jupyter Notebook mit dem Befehl jupyter notebook

Benutzen von Jupyter Notebook eigentlich selbsterklärend, optional aber ein Video https://www.youtube.com/watch?v=tpLk-FC9kHI

Python-Crashkurs

Haupt-Kurs: https://nbviewer.org/github/fsj-digital/zero/blob/main/Python_Crashkurs_22.ipynb

Übungen zum Kurs: https://nbviewer.org/github/fsj-digital/zero/blob/main/%C3%9Cbungen_22.ipynb

  1. März 2022

Hi there 👋,

Samstag. 4. Dezember 2021.

Projektseite des FSJ-Digital-Kurses Diese Seite ist noch sehr roh - wird aber in den kommenden Tagen nach und nach editiert.

das ist die Projekt-Homepage, auf der im Verlauf der nächsten Wochen alle Inhalte aufgelistet werden. Doch diese Seite ist nicht nur Pinwand und Kalender - sie ist weit mehr als nur das. Sie ist eine Kollaborativ-Umgebung (im besten Github-Sinne) Einen kl. Ausblick auf für dich interessante Teile - findest ihr hier. .( ist aber noch sehr roh - und wird erst im Verlauf der nächsten Wochen ausgebaut. )

Ansonsten - findet in den ersten Tagen ein Kennenlernen und ein erster Austausch statt. Morgen beginnen wir mit einer Kennenlernrunde und eine Besprechung darüber was wir im Jahr noch alles machen werden. Vieles ist darauf angelegt - virtuell zu laufen. ( wie Ihr auch auf der github-Projekt-Seite seht ) - sodass wir, wenn die Corona-Pandemie es erfordern sollte, auch in unseren Seminartagen dann virtuell uns treffen können.

Darüber hinaus: für die Online-Zusammenarbeit haben wir einen Discord-Server, Concept-Boards und natürlich auch Github als Unterstützung.

##By the way: insbes. für die Github-FSJ-Seite: Hier brauchen wir noch Mitmacher, Interessierte, und ggf. auch ein paar (neudeutsch) Maintainer - z .B. der Github-Seite und auch der Jupyter-Notes-basierten Python-Kurse. Aber das kommt alles in den nächsten Wochen

der ##Ausblick auf die ersten Tage:

Mittwoch Donnerstag Freitag
Still renders nicely
Einstieg u.Begrüßung Themenübersicht Exkursion
A B C D
1 Col1 Col2 Col3 Numeric Column
2 Value 1 Value 2 123 10.0
3 Separate cols with a tab or 4 spaces -2,027.1
4 This is a row with only one cell


avatar_1.jpg

Awesome image description image used due consent of hackNY.org :: fall 2013 hackNY student hackathon https://flickr.com/photos/hackny/10165085126/in/gallery-186428325@N04-72157718884822936/ cf https://creativecommons.org/licenses/by-sa/2.0/ For more information on hackNY's initiatives, please visit www.hackny.org and follow us on twitter @hackNY


Weil wir manche Teile des Kurses auch als kollaborativ-Teil einrichten - werden wir hier mit digitalen Features und Aspekten experimentieren. M.a.W. wir wollen die Möglichkeiten d der Github-Umgebung dazu nutzen, unsere Materialien auch einem größeren Publikum zu öffnen. Das bringt eine Menge an Erfahrungen - und gleichzeitig sind wir hier - voll im Thema FSJ-Digital, so wie es uns auch im Alltag unserer FSJ-Arbeit an Schulen, Jugendinstituten und anderen Abteilungen begegnet: Digital, modern, und einfach entgrenzt von klassischen Schranken eines Klassenraumes oder ähnlichem ehr.

ergo hier ein paar Einleitungen zum Projektteil - auf englisch...

dear friends and visitors.

We re the team of FSJ-Digital

- a volunteering group: and we re PUTTING SKILLS INTO ACTION So many ways to volunteer our page at the IB-Volunteering-site: FSJ-Digital in Heidelberg (german language)


🔭 Currently working on: Articles that help students and developers new-to-them technologies. Here are some examples of what I have been writing on: how to dive into Python Programmingl Learning Fundamentals: which way fits most to dive into new Python as a first Proramming language encouraging to go the first steps - learn with Projects

🌱 Currently Learning: how to structure an github-ressurce for Python-Learners
🤔 Looking for help: I’m looking for help with trying to find the best way to organize this page for Python newbies.
💬 Ask me about: how to mentor students, creating a portfolio site for you, or assistance with an application you are working on.
📫 How to reach me:
Email: [email protected]
Twitter
LinkedIn
😄 Pronouns: we/us/ors
⚡ Fun facts:
🎵 we love making music You can hear us making music here: University-Church in Heidelberg
making Musik with FSJ-Digital-group in 2021: Universitätskirche Heidelberg am 4 Dez.2020: Eva Heitlinger begleitet von Gerhard Müller

Awesome

Universitätskirche Heidelberg am 4 Dez.2020: Eva Heitlinger begleitet von Gerhard Müller
Universitätskirche Heidelberg: FSJ -Weihnachtssingen 2020 - Justine, begleitet von G. Müller.
Universitätskirche2020 12 04 Ludwig spielt Canon D-Dur (Pachelbel) an der Orgel
Weihnachtssingen: Unikirche Heidelberg: 10. Dez. 2020: ChorYFeen, FSJler, begleitet von G. Müller
Trailer X Mas Singing: die Freiwilligendienste Heidelbergs singen in der Unikirche Heidelbergs



Awesome im

       :fallen_leaf: My favorite season is fall :smile:<br>




Python_Tutorials



...für das die kommenden FSJ-Seminare planen wir auch einen Python-Crash-Course anzubieten: Auf dieser Seite werden erste Informationen angeboten - sowie auch Links zum Kurs, zu IDEs und weiteren Werkzeugen.

Nebenbei bemerkt: der Aufbau des Python Crashkurses - wird modular und strukturiert _nachhaltig - mit anderen Worten: das wird bleibend sein. Wir akkumulieren hier wissen - und bauen ein hochleistungsfähigen Kurs auf -hier können wir auch Dinge noch einbauen - etwa was andernorts noch gefunden wird..

SEMININAR-INHALT für den Python-Crashkurs:

a. Jupyter-Notebook: Wir führen auch ein in Jupyter-Notebook (lab) b. Python Crashkurs.

jupyter-notebook :: hier ein Link zur Kurzeinführung in das Notebook: jupyter-notebook

hier sind die beiden Jupyter-Noteboks, um die es heute geht, Crashkurs und Übungen:

Python-Crahskurs

Python Übungen

IDEs - diverse ides und Editoren

RaspBerry_Pi und Arduino

  • Aufbau eines Headless Servers
  • Aufbau eines NAS Network Area Storage
  • etc. etx.

Betriebsysteme:

Linux-Systeme Übersicht, Einsatz, Installation

weitere Tutorials:

https://github.com/rajathkmp/Python-Lectures : eine sehr strukturierte Übersicht -(wie sie in vielen Lehrbüchern auch zu finden ist) ist nebenbei released unter: https://creativecommons.org/licenses/by/3.0/

Introduction into Python

Python is a modern, robust, high level programming language. It is very easy to pick up even if you are completely new to programming.

Installation

Mac OS X and Linux comes pre installed with python. Windows users can download python from https://www.python.org/downloads/ .

To install IPython run,

$ pip install ipython[all]

This will install all the necessary dependencies for the notebook, qtconsole, tests etc.

Installation from unofficial distributions

Installing all the necessary libraries might prove troublesome. Anaconda and Canopy comes pre packaged with all the necessary python libraries and also IPython.

Anaconda

Download Anaconda from https://www.anaconda.com/products/individual

Anaconda is completely free and includes more than 500 python packages. Both python 2.7 and 3.7 options are available.

Canopy

Download Canopy from https://store.enthought.com/downloads/#default

Canopy has a premium version which offers 300+ python packages. But the free version works just fine. Canopy as of now supports only 2.7 but it comes with its own text editor and IPython environment.

Launching IPython Notebook

From the terminal

ipython notebook

In Canopy and Anaconda, Open the respective terminals and execute the above.

How to learn from this resource?

You can download the pdf copy from here : Get Started with Python

It is better to download all the ipython notebooks from this repository https://github.com/rajathkumarmp/Python-Lectures and learn it on the notebook itself rather than having to refer to a pdf. Launch ipython notebook from the folder which contains the notebooks. Open each one of them

Cell > All Output > Clear

This will clear all the outputs and now you can understand each statement and learn interactively.

Table of contents

00 - Introduction and Installation

01 - Variable, Operators and Built-in Functions

02 - Print Statement, Precision and FieldWidth

03 - Lists, Tuples and Sets

04 - Strings and Dictionaries

## Welcome to FSJ-Digital-page - das ist die seite an der ich jetzt arbeite

Hi there 👋, We re the team of FSJ-Digital - a volunteering group: and we re PUTTING SKILLS INTO ACTION So many ways to volunteer

our page at the IB-Volunteering-site: FSJ-Digital in Heidelberg (german language)

🔭 Currently working on: Articles that help students and developers new-to-them technologies. Here are some examples of what I have been writing on:
           how to dive into Python Programmingl
           Learning Fundamentals: which way fits most to dive into new
           Python as a first Proramming language
           encouraging to go the first steps - learn with Projects

🌱 Currently Learning: how to structure an github-ressurce for Python-Learners
🤔 Looking for help: I'm looking for help with trying to find the best way to organize this page for Python newbies.
💬 Ask me about: how to mentor students, creating a portfolio site for you, or assistance with an application you are working on.
📫 How to reach me:
           Email
           Twitter
           LinkedIn
😄 Pronouns: we/us/ors
⚡ Fun facts:
           🎵 we love making music You can hear us making music here: University-Church in Heidelberg
           🍂 My favorite season is fall 😄


🌱 Currently Learning:
🤔 Looking for help: .

im folgenden geben wir einen Überblick auf das Seminarangebot des FSJ-Digital.

Python:

Learn by projects:

Learn by examples:

Hier zeigen Wir euch exemplarisch ein paar Ansätze - beispiel und projektorientierten Lernens

Beispiel: learn by example https://www.learnbyexample.org/

Funktionen: python functions

Learn Python By Example: Start from basic level and move all the way up to professional references

“Building a Simple PhoneBook” “Building a Simple PhoneBook” — #LearnPythonThroughProjects: Series 10

Project Based Learning

https://github.com/tuvtran/project-based-learning

A list of programming tutorials in which learners build an application from scratch. These tutorials are divided into different primary programming languages. Some have intermixed technologies and languages. To get started, simply fork this repo. Please refer to CONTRIBUTING.md for contribution guidelines.

You can use the editor on GitHub to maintain and preview the content for your website in Markdown files.

Whenever you commit to this repository, GitHub Pages will run Jekyll to rebuild the pages in your site, from the content in your Markdown files.

Markdown

Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for

Syntax highlighted code block

# Header 1
## Header 2
### Header 3

- Bulleted
- List

1. Numbered
2. List

**Bold** and _Italic_ and `Code` text

[Link](url) and ![Image](src)

For more details see GitHub Flavored Markdown.

Jekyll Themes

Your Pages site will use the layout and styles from the Jekyll theme you have selected in your repository settings. The name of this theme is saved in the Jekyll _config.yml configuration file.

Support or Contact

Having trouble with Pages? Check out our documentation or contact support and we’ll help you sort it out.

05 - Control Flow Statements

06 - Functions

07 - Classes

These are online read-only versions.

License

This work is licensed under the Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/

About

Python Crashkurs 2021

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published