Installed Python packages and updated IoT repository.
After installation, performed python programs during class time.
Performed code and programs are listed below :-
$ sudo pip3 install -U jdcal astral geopy$ cd iot$ git pull$ cd lesson3$ python3 julian.py$ python3 date_example.py$ python3 datetime_example.py$ python3 time_example.py$ python3 sun.py 'New York'$ python3 moon.py$ python3 coordinates.py 'SC Williams Library'$ python3 address.py '40.7448397, -74.02531776875'$ python3 system_info.pyRun socket server program using two different terminals and code are listed below :-
$ python3 socket_server.py$ python3 socket_client.py <!---Completed All Programs-->>
Launched successfully pigpio daemon using -n flag to allow connections from specific IP address during class.
<!---Completed All Programs-->>