I’m trying to change the current directory from
import os os.chdir('Y:')
but I keep getting an error saying that it can’t locate the drive.
Essentially I’m looking for the equivalent of the
command in cmd.
Are you sure
Y: really is a valid drive letter?
os.chdir('C:') and make sure that works. (It works for me.)