Skip to content
  • Tutorials
    • c programming
      • libraries
    • c++
    • Linux
    • Python
    • batch programming
    • Technology
  • IDE
  • Tools
pathlib current directory 1

pathlib current directory

June 11, 2022 by Anurag batra
from pathlib import Path
Path('.')

Here is what the above code is Doing:
1. Importing the pathlib module.
2. Creating a Path object.
3. Printing the Path object.

Categories Python Examples
Post navigation
how to chang your facebook name
python image resize
© MyEduKit - 2022 . All Rights Reserved.