Consider this code:
from sqlalchemy import exists
import inspect
print(inspect.getfile(exists))
# Effectively calls:
print(exists.__code__.co_filename)
On 2 systems I've tested it on it prints:
<string>
<string>
What does it mean? Could anything be done to get a proper filepath?