Skip to content

Accessing Java variables with illegal Python characters #1328

@ryanmkurtz

Description

@ryanmkurtz

Hopefully this is a question with an answer instead of an issue.

If I am trying to access the Java variable MyClass.foo_$bar from JPype, how to I do that? Including the $ results in SyntaxError: invalid syntax.

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