How to import another python script using

  1. If I wan’t to Import another python script and also run that script using layout panel, How to do that ?
  2. can a layout panel be made in file.
    Please Help me.

Something for your bookmarks: :wink:

  1. Imports work like this: from .foo import Foo
    see here:

  2. Yes, you can write a Panel class within the file.

1 Like