Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

__file__ is not supported #209

Copy link
Copy link
@redradist

Description

@redradist
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.