it:programmiersprache:python:exkurs:pfade:start

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
it:programmiersprache:python:exkurs:pfade:start [23.08.2025 08:36] – ↷ Seite von it:python:exkurs:pfade:start nach it:programmiersprache:python:exkurs:pfade:start verschoben marschit:programmiersprache:python:exkurs:pfade:start [08.09.2026 08:16] (aktuell) – [Modul os.path] marsch
Zeile 1: Zeile 1:
 ====== Pfade ====== ====== Pfade ======
  
-Voraussetzung: [[it:python:strings|Strings]]+Voraussetzung: [[it:programmiersprache:python:01_strings|Strings]] 
 + 
 +{{ youtube>yxa-DJuuTBI|Python Tutorial: Pathlib - The Modern Way to Handle File Paths (Corey Schafer)}}
  
 Einfache String Verarbeitung. Einfache String Verarbeitung.
Zeile 17: Zeile 19:
  
 home_directory_of_file = path.dirname(__file__) home_directory_of_file = path.dirname(__file__)
-parallel_directory_of_file = path.abspath(path.join(MAIN_DIR, "..", "paralleldir"))+parallel_directory_of_files_home = path.abspath(path.join(home_directory_of_file, "..", "paralleldir"))
 </code> </code>
  
  • it/programmiersprache/python/exkurs/pfade/start.1755938164.txt.gz
  • Zuletzt geändert: 23.08.2025 08:36
  • von marsch