Runs a local script on a remote node after transferring it

hello there ,

I want to execute a python script in the remote machine , haw to do that ?
for the moment i execute the script which is located in the remote machine using this command :

-shell: python script

but i want to put this script in the machine in which i installed ansible and run it in the remote machine

any ideas please ?
thank you in advance .

http://docs.ansible.com/ansible/copy_module.html

The script module does this http://docs.ansible.com/ansible/script_module.html