Run main.py play the game for a while, it will be filling data file of how you play.
After playing for some time, you can then run mainml.py and and the right paddle will start playing based on what data there is in the data file.
You can uncomment few lines to be playing using paddle 2 in mainml.py