Hey Ipshita, the code is pretty simple to run. Yes, you'll need to install Python on your computer. Then open up the terminal (or Command Prompt in Windows) in your working directory and run this command:
python "get_user_articles.py"
That's it!
(Considering that you copy-pasted the code from GitHub Gist to a file named "get_user_articles.py")
One more thing, you'll need to replace "os.getenv('RAPIDAPI_KEY')" with your actual API key that you can get by subscribing to Medium API (http://hub.mediumapi.com).
By the way, what are you trying to build or do? Just curious. Maybe I can help :)