It’s common that we need to process data in csv format. We will use the csv library to read csv file. Here is a sample code for read data from csv file and print each row.
Category: python3
homebrew install ChromeDriver not working in M1 Mac
I was trying selenium and I have installed chromedriver using home-brew. However, I could not execute the driver(block by Apple). Here is how to solve the issue. I’m using a Mac with M1 chip thought that should be irrelevant. The error should look something like this. The solution is simple, just type the command below.… Continue reading homebrew install ChromeDriver not working in M1 Mac
Let your python script take command line argument with Argparse
Sometime in your life you might want your script to be able to accept command line argument as input. This post will teach you the most basic usage of Argparse library. I only touch surface of this library if you would like to know more detail usage read docs.python.org for further instructions. Installation is quite… Continue reading Let your python script take command line argument with Argparse