Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__file__ is not supported #209

Open
redradist opened this issue Jan 8, 2025 · 0 comments
Open

__file__ is not supported #209

redradist opened this issue Jan 8, 2025 · 0 comments

Comments

@redradist
Copy link

Describe the bug*

If I use __file__ in python app then in PyCharm got the following error:
"NameError: name 'file' is not defined"

To Reproduce

Steps to reproduce the behavior:

  1. Add in simple python program __file__
  2. Click on run in release mode with orange button
  3. See error "NameError: name 'file' is not defined"

Expected behavior

file should be provided

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant