folder terbuka python
import subprocess
subprocess.Popen(r'explorer /select,"C:\path\of\folder\file"')
JoohannLULW
import subprocess
subprocess.Popen(r'explorer /select,"C:\path\of\folder\file"')
path = 'C:\\Users\\Username\\Path\\To\\File'
file=open(path, "r")
import webbrowser
path = "C:/Users/Username/PycharmProjects"
webbrowser.open(path) # Opens 'PycharmProjects' folder.