Menü

PyGRAZ ist eine Usergroup mit die Python-Programmiersprache in Graz. Wir treffen uns regelmässig am ersten Dienstag im Monat entweder im realraum oder im Gösserbräu.

Session: The Missing Filesystem Path Type

von Christoph Reiter

Diese Session wurde am 5. November 2019 gehalten.

Folien

This talk is all about filesystem paths. How are they defined, what's their encoding, what are their limits? How does Python translate them to and from Python objects even though they don't have to be encoded properly? Which types do they have and is there a difference between bytes, str/unicode and pathlib.Path?

Operating systems moved to Unicode over the last 20 years and so did Python with the introduction of the unicode type and the move to Python 3. How have things changed/improved over time in both worlds and what do you have to watch out for when writing cross platform Python code.

Comments powered by Disqus