running a python script through Ansible

Hello Friends,
I am a bit stuck in proceeding with ansible. I would like to be guided for how Can I run a python script using Ansible.
As far as i understood we are supposed to make an ansible module and then use it in playbook. But i dnt understand how to begin writing a module.

It will be really kind if anyone could guide me with that.

Thanking you

You CAN modify the script to be a module, but you don’t NEED to, you can also use the script module.