Source Code:
(back to article)
import os current_file_directory = os.path.dirname(os.path.abspath(__file__)) print(current_file_directory)
Result:
Report an issue