Python os.path.expanduser() doesn't return correct path

Python os.path.expanduser() doesn't return correct path

LayLo3D
Contributor Contributor
464 Views
0 Replies
Message 1 of 1

Python os.path.expanduser() doesn't return correct path

LayLo3D
Contributor
Contributor

I'm trying to run plug-ins that work correctly in Maya 2022 with Python 3 in Maya 2023, but Python's os.path.expanduser() isn't returning the correct path. Every other version of Maya returns the correct path, but for some reason Maya 2023 is returning a path on my U drive when my user files are on my D drive.

 

Anyone have any ideas how to fix this, or know what's going on?

 

Thanks in advance!

0 Likes
465 Views
0 Replies
Replies (0)