+ 2
What modules have python to open and use another program through the code?
For example: I have console program which take on input password and I need write program which can: 1. Open program and use it 2. Crack password. I can do 2-nd goal, but I donât know how to do 1-st goal
6 Answers
+ 2
If you have windows, just use
import os
os.system("start filename.extension")
+ 1
Tell me exactly what you need to do.
By "opening" do you mean "starting the file as you would by double clicking it" or "run it in python console"
+ 1
"starting the file by double clickingâ
+ 1
Remigiusz Schoida, do you know any libraries?
+ 1
Ooh!đ I forgot about this module. Remigiusz Schoida Thank you
+ 1
but how I can USE program trough the code. For example: I must trough the code input in another program data.