For temperature and humidity sensor open Arduino IDE and install the DHTLib as a .zip file https://github.com/RobTillaart/DHTlib
Open command prompt to see results
if the .py programm does not work, run the following commands:
$ sudo adduser your_username dialout
$ python3 -m pip install pyserial
for checking the connection use:
$ ls /dev/tty*