add chapter02 connect3.py