Skip to content

Conversation

@0xItx
Copy link
Contributor

Python code inspecting file will find what it's looking for, rather than a NameError: name '__file__' is not defined

This is the behavior exposed by python -i as well as ipython -i

Python code inspecting __file__ will find what it's looking for, rather than a ``NameError: name '__file__' is not defined``
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@0xItx