python os open dir code example
Example 1: python open folder
import subprocess
subprocess.Popen(r'explorer /select,"C:\path\of\folder\file"')
Example 2: python os get dir path
from os import getcwd # only import "getcwd" from os
getcwd() # Get the current working directory