Python: Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 14: Zeile 14:


[https://docs.python.org/3/library/ https://docs.python.org/3/library/]
[https://docs.python.org/3/library/ https://docs.python.org/3/library/]
[https://projects.raspberrypi.org/en/projects?software[]=python https://projects.raspberrypi.org/en/projects?software[]=python]




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

Version vom 16. August 2020, 16:13 Uhr

Shebang

#!/usr/bin/env python3

from pathlib import Path

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

print('aktuelles Verzeichnis:', current)

Links

https://docs.python.org/3/library/

[=python https://projects.raspberrypi.org/en/projects?software[]=python]


Zurück zu Hauptseite