How do copy Python script to dom0 and run?

I found python script and want to copy to dom0 and run

would also like to automatically run script in dom0 upon start

how this done?

In general, you should only run things in dom0 if you know exactly what
they are going to do.
That said, as always, look at the docs