I am an absolute beginner in QGIS no idea in this field. I just created a Python plugin with pluging builder in QGIS successfully
PYTHON_PLUGINS_PATH/ MyPlugin/ ----------------- inside it contain these files
____init__.py mainPlugin.py mainPlugin_dialog.py mainPlugin_dialog_base.ui plugin_upload.py README.txt metadata.txt resources.qrc resources.py resources_rc.py . . etc
I just want to write some code like print("hello world"). I want to know should I write it inside the mainPlugin.py file If yes then ok, otherwise tell me where should write my code.
After writing my code how can I run It through my plugin which I created in QGIS. I am seeing only my plugin name in QGIS my plugin has no option to import file to take this file mainPlugin.py and run it.
What is the procedure to run my mainPlugin.py file through my plugin inside QGIS?