working with folders in python code example
Example 1: open file in python directory
path = 'C:\\Users\\Username\\Path\\To\\File'
file=open(path, "r")
Example 2: which folder python os
import os
cwd = os.getcwd()
path = 'C:\\Users\\Username\\Path\\To\\File'
file=open(path, "r")
import os
cwd = os.getcwd()