Skip to content

all code in __init__.py is not very nice #2

@hasienda

Description

@hasienda

Not seen such a code placement. Better keep __init_.py empty and move code to another file, say console.py (following Trac core naming convetions) or similar. You can preserve current way of component activation by keeping a single line in __init__.py like so:

from nukeuserplugin.console import *

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