Getting Current Working Directory Copy
Mon 10 August 2026
import os
current_dir = os.getcwd()
print(current_dir)
C:\Users\Ashwin\kact\pynotes\notebooks\basics
Score: 15
Category: chapter12_file_handling
import os
current_dir = os.getcwd()
print(current_dir)
C:\Users\Ashwin\kact\pynotes\notebooks\basics
Score: 15
Category: chapter12_file_handling