A pretty silly trivial question. The canonical example is f = open('filename')
, but
f
is not very descriptive. After not looking at code in a while, you can forget whether it means "file" or "function f(x)" or "fourier transform results" or something else. EIBTI.- In Python,
file
is already taken by a function.
What else do you use?
file()
was deprecated in 2.x then flat out removed in 3.x, so IMHO it's fair game – Obliquelyfile
oropen
– Lachus