In PHP, the __DIR__ magic constant evaluates to the path to the directory containing the file in which that constant appears.
Is there an equivalent feature in Python?
In PHP, the __DIR__ magic constant evaluates to the path to the directory containing the file in which that constant appears.
Is there an equivalent feature in Python?