Nov-28-2023, 10:33 PM
When open a shell and run this program:
import os print(os.getcwd())It prints the name of path of the directory open in the shell, not the location of the program. For example, I open a CMD shell in "u:" and type
Output:u:\>C:\Users\...\python\sandbox test.py
u:\
u:\>
Can you post your program?