I want to detect the full directory ( Like… C:/path/to/file.py? ) in [python]. And I don’t really know what module to use, or something. So, let’s imagine this function exists:
some.important.modules.checc()
If the Python file is somewhere in C:/Users/Rix/Downloads/Path/to/file.py, it would return C:/Users/Rix/Downloads/Path/to/file.py, or if the file is in C:/Users/Rix/Downloads/Some/very/interesting/path/to/file.py then it would return C:/Users/Rix/Downloads/Some/very/interesting/path/to/file.py.
So, what function could do like the some.important.modules.checc() function?
>Solution :
I don’t have enough reputation to make a "comment", the "\n" in Egemem İm answer means to have a new line printed before each of your path.

