Aug-04-2022, 09:56 AM
Don't use os.startfile nor os.system for this.
(I don't read this, because I'm a Linux user, I don't care much about Windows)
from subprocess import Popen def select_object(path): return Popen(["explorer.exe", f"/select,{path}"]) if __name__ == "__main__": select_object(r"C:\Users")If you want more control: https://www.apriorit.com/dev-blog/727-wi...ith-python
(I don't read this, because I'm a Linux user, I don't care much about Windows)
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!