importtaosconn:taos.TaosConnection=taos.connect(host="localhost",user="root",password="taosdata",database="test",port=6030,config="/etc/taos",# for windows the default value is C:\TDengine\cfgtimezone="Asia/Shanghai")# default your host's timezoneserver_version=conn.server_infoprint("server_version",server_version)client_version=conn.client_infoprint("client_version",client_version)# 2.4.0.16conn.close()# possible output:# 2.4.0.16# 2.4.0.16