Hi @Gerhard.P
What’s your ultimate goal? If it is to open the explorer window if not already opened, you can use
import os
os.startfile(path, "open")
If you really need to do what you asked and use pyautoguim follow this guide to create a redistributable library extension