Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Get Path

Demonstrates how to determine the directory of the currently running script and of an imported module using pathlib.Path(__file__). Useful when you need to locate resources relative to your source files.

Usage

python mainscript.py