Python: Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 15: Zeile 15:
[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]
[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]]

Version vom 16. August 2020, 16:16 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/

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


Zurück zu Hauptseite