If I have an opened file, is there an os call to get the complete path as a string?
os
f = open(\'/Users/Desktop/febROSTER2012.xls\')
The key here is the name attribute of the f object representing the opened file. You get it like that:
name
f
>>> f = open('/Users/Desktop/febROSTER2012.xls') >>> f.name '/Users/Desktop/febROSTER2012.xls'
Does it help?