import webbrowser path = "C:/Users/Username/PycharmProjects" webbrowser.open(path) # Opens 'PycharmProjects' folder.