I have a working Python console script and have created a plugin (processing provider through the plugin builder). Now I want to put the python console script into the plugin. Can I simply copy and paste the script? Which file do I need to edit and where?
Here is a link that will teach you all you will need to know to create your first QGIS plugin.
You can copy/paste what you wrote in the QGIS python console to the python file called "name_of_your_plugin".py in your plugin folder but you will need to link your functions to a pushbutton (use Qtdesigner for this) for instance to make it work.