Os.system cmd password entery automation

after code run output shows
enter the password for user : nill
need help


the password is 1 but want it automatic like while loop
can python cold enter the password automatedly?
need solution …
python Code

</>import os
os.system('cmd /c “runas /user: 1"C:\Program Files” ')</>

People probably need a bit more to work with to help. Could you post the relevant parts of your code that are throwing an error? Paste the code, highlight it, and then use the </> icon to mark it as code so it’s easier to read.

code is given up

Do not post code as pictures. Use the </> button to paste the code.