Answers for "how to get a file path using os 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 a file path using os in python"

Python Answers by Framework

Browse Popular Code Answers by Language