Home>

Currently, records are inserted into MSSQLServer from the following .sh file in Rasp Pi 3
I would like to replace this with a Python3 .py file.
I don't know what to do.
I look forward to working with you.

** The contents of the following .sh file ***

!/bin/bash

tsql -S sqlserver -p 1433 -U User -P hoge< use hugaDB
GO
insert into dbo.hogetable values ​​("HHHHHH", 99.9)
GO
EOF