Python: Difference between revisions

Line 79: Line 79:


====Paths====
====Paths====
Use <code>os.path</code>
Use [https://docs.python.org/3/library/os.path.html <code>os.path</code>]
<syntaxhighlight lang="python">
<syntaxhighlight lang="python">
import os.path as path
import os.path as path