Relative Content

Tag Archive for pythoninput

input broken when script called from another script [duplicate]

This question already has answers here: How do I write to a Python subprocess’ stdin? (7 answers) Closed 5 hours ago. ENV: Oracle Linux 9, Python 3.9 I have a script which 1) installs dependencies for the second script from a given collection of WHL files, and 2) launches the “action” script once the dependencies […]

input broken when script called from another script [duplicate]

This question already has answers here: How do I write to a Python subprocess’ stdin? (7 answers) Closed 5 hours ago. ENV: Oracle Linux 9, Python 3.9 I have a script which 1) installs dependencies for the second script from a given collection of WHL files, and 2) launches the “action” script once the dependencies […]

Allowing multiple user inputs

I’m very new to programming so I’m sure my code isn’t as neat as possible, and I’m certain it isn’t working how I would like it to. Basically, I’m playing around with this code, and I want to make it so that the user could input various synonyms to ‘Yes’ for the code to work properly (I have commented out the various options) but I can’t seem to work out how to do it. Does anyone have any advice?

how to run another code line with input function

I made a tictactoe game and added a time limit in the play turn.
My problem is how to make the remaining time visible to the player. I don’t know how to run different code line like a text displaying the remaining time with input function at the same time.