• oraant

    I have a view like this

    class PathView (ui.View):
        def __init__(self, *arg, **kw):
            print(arg, kw)    # notice here!
            self.flex = 'WH'
            self.path = None
            self.paths = []
            self.action = None

    And I made a pyui, use the custom view PathView, and put some custom attributes like this:

    {"bc": "oooo" }

    When I run the first script, it printed this:

    () {}

    Why?How should I use it?

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!