You can import anything from anywhere, and no you dont need multiple classes for file type plugins. Really, ll you need to migrate an old plugin is to rename the .py file to _init__.py and add the .txt file that gives the import name. Of course for maintainability of your plugin you should ideally split it up into multiple .py files, which the new import mechanism facilitates.
|