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 »

Python Tutorials MLP Feature Image

Python Program to Find All Files with .txt Extension Present Inside a Directory – 2025

Hey guys, in this blog we will see a Python Program to Find All Files with .txt Extension Present Inside a Directory. Example 1: Using glob Output file3.txtfile2.txtfile1.txt Here we have used the glob() python package to get all the ‘.txt’ files. We have used glob.glob(“*.txt”) to get a list of all “.txt” files. Example 2: Using

Python Program to Find All Files with .txt Extension Present Inside a Directory – 2025 Read More »

Scroll to Top