+ 2
How to make a Command Shell using python
Currently i am trying to use Subprocess to do the job, but undone so far. I don't how to know whether an exe file requires std input if yes how to show the console message and then take input Somebody please tell me. This code below is my addition program, https://code.sololearn.com/c7AWWS0ZHCF0/?ref=app https://code.sololearn.com/c7AWWS0ZHCF0/?ref=app And this my console program, https://code.sololearn.com/cpEPLDH20y44/?ref=app
1 Answer
0
call(["ls", "-l"])
i don't know python but i googled it ,Good Luck
https://stackoverflow.com/questions/89228/calling-an-external-command-in-python?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa