Abhishek Sharma

Started my Data Science journey in my 2nd year of college and since then continuously into it because of the magical powers of ML and continuously doing projects in almost every domain of AI like ML, DL, CV, NLP.

Python Tutorials MLP Feature Image

Python Program to Get the Full Path of the Current Working Directory – 2025

Hey guys, in this blog we will see a Python Program to Get the Full Path of the Current Working Directory. Example 1: Using pathlib module Output C:\Users\ashar\OneDrive\Desktop\Python Tutorials C:\Users\ashar\OneDrive\Desktop\Python Tutorials To get the full path of the given file we have used pathlib.Path(“my_file.txt”).parent.absolute(). And to get the full path of the current working directory we have

Python Program to Get the Full Path of the Current Working Directory – 2025 Read More »

Scroll to Top