how to get directory of file that is opened with python file code example
Example: open file in python directory
path = 'C:\\Users\\Username\\Path\\To\\File'
file=open(path, "r")
path = 'C:\\Users\\Username\\Path\\To\\File'
file=open(path, "r")