Answers for "how to get file path of opened file in python"

-3

get path of open file python

>>> f = open('/Users/Desktop/febROSTER2012.xls')
>>> f.name
'/Users/Desktop/febROSTER2012.xls'
Posted by: Guest on September-16-2020

Code answers related to "how to get file path of opened file in python"

Python Answers by Framework

Browse Popular Code Answers by Language