What do you need to use python for?
The Mac has Python installed.
Run
in a terminal window. That will show you how to do a variety of tasks with python - or just run a python script in the terminal. Your terminal will either run it, or will result in an error line that can be helpful (or maybe unhelpful) in getting your python script to run correctly.