python-send-csv-iothub 将csv格式的模拟遥测发送到IoT中心的Python示例 send_message_csv.py async def send_test_message ( i ): print ( "sending message #" + str ( i )) message_id = uuid . uuid4 () csv_text = str ( i ) + "," + str ( message_id ) + ",test wind speed " + str ( i ) + "," + datetime . datetime . now (). strftime ( "%d/%m/%Y %H:%M:%S" ) msg = Message ( csv_text