Python: Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
 
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
== Installation ==
<pre>
sudo apt-get install -y python3 python3-pip
</pre>
== Shebang ==  
== Shebang ==  


Zeile 10: Zeile 16:
print('aktuelles Verzeichnis:', current)
print('aktuelles Verzeichnis:', current)
</pre>
</pre>
== Dateidownload ==
[https://lerneprogrammieren.de/dateien-herunterladen-tutorial/ https://lerneprogrammieren.de/dateien-herunterladen-tutorial/]


== Links ==
== Links ==


[https://docs.python.org/3/library/ https://docs.python.org/3/library/]
[https://docs.python.org/3.8/library/index.html https://docs.python.org/3.8/library/index.html]


[https://projects.raspberrypi.org/en/projects?software[]=python https://projects.raspberrypi.org/en/projects?software[]=python]
[https://projects.raspberrypi.org/en/projects?software%5B%5D=python https://projects.raspberrypi.org/en/projects?software%5B%5D=python]




Zurück zu [[Hauptseite#Programmieren|Hauptseite]]
Zurück zu [[Hauptseite#Programmieren|Hauptseite]]

Aktuelle Version vom 23. August 2020, 10:18 Uhr

Installation

sudo apt-get install -y python3 python3-pip

Shebang

#!/usr/bin/env python3

from pathlib import Path

current = str(Path.cwd().absolute())

print('aktuelles Verzeichnis:', current)

Dateidownload

https://lerneprogrammieren.de/dateien-herunterladen-tutorial/

Links

https://docs.python.org/3.8/library/index.html

https://projects.raspberrypi.org/en/projects?software%5B%5D=python


Zurück zu Hauptseite