
How to apply mock with python unittest module?
This blog talks about how to apply mock with python unittest module, like use "unittest.mock" to simulate the behavior of complex or real objects, configure your mock instance with "return_value" or / and "side_effect", check how you called a method with assertions and mock an object with "patch()".

How to get a YouTube video's information with YouTube Data API by Python?
This blog talks about how to get YouTube video's/channel's information by YouTube Data API and Python scripts, like getting a video ID & channel ID with a query, getting a video’s statistics data with a video ID, getting a video’s comments, getting a channel’s information with channel ID, and getting a channel’s playlist.

Youtube video's comments analysis Jay Chou Mojito
I extract one video's (Mojito Jay Chou) comments on YouTube with YouTube Data API and in this blog I will analyse them in different views.

How to send E-mails with Python?
This blog introduces how to set up a fake SMTP server and send e-mails with python, and how to test sending e-mails with unittest.mock.

Learning pyspark with Docker
This blog talks about how to manipulate data with "pyspark" module in a Docker container.

COVID-19 worldwide analysis (up to 2020-05-10 UTC+02:00)
Recently, lots of European countries started to stop the lockdown. Thus, I'm curious about the actual COVID-19 situation around the world. In this blog, I will talk about the worldwide COVID-19 pandemic in the following points...


113 post articles, 15 pages.