The method proposed by Patricio allows creating a process for each of the modules. It is a good option if you are only going to execute the script. Remember to give execution permission to the script for the appropriate user.
You can also simply import them. This will simply execute the content of each script sequentially in the order of the imports:
main.py :
import archivo1
import archivo2
import archivo3
The file must be in the same directory as the three previous files.
The code of each module is executed except the one you have inside:
if __name__ == "__main__":
To know more about the previous sentence you can see the following publication:
What is if __name__ == "__main__" :?
Edit:
The problem is that including the "$" character in the name of your module is not a valid identifier and can not be imported. As a general rule you should not name your modules with invalid identifiers , however, you can import them in the following way:
archivo1 = __import__('archivoMW$1')
archivo2 = __import__('archivoMW$2')
archivo3 = __import__('archivoMW$3')
Or simply:
__import__('archivoMW$1')
__import__('archivoMW$2')
__import__('archivoMW$3')
I repeat that the ideal would be to name the modules with valid identifiers.