I am having problem with logic and syntax in Python for opening program and executing program.
For an example, I have figured out how to open a program with python code by doing so:
import os
os.system("start c:/test/sqlite3 test.db3)
With this example code I am opening an sqlite3 (I know there is an sqlite3 library in Python - I am trying to understand OS right now.)
How could execute following command with this open file?
.read test.sql
I would appreciate if you would explain a logic to me in brief. Thank you.