Skip to content

__file__ is not supported #209

@redradist

Description

@redradist

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions