ใช้ os.getcwd() หา current working directory (pwd) ตัวอย่าง >>> import os >>> print(os.getcwd()) /home/ayush/qna