inspirezonetech / TeachMePythonLikeIm5

Teach the Python programming language using a collection of super beginner friendly tutorials and challenges.
https://inspirezone.tech/
MIT License
25 stars 43 forks source link

GitHub action 'execute-modified-python-file.yml' fails if program uses 'input()' #98

Open funbeedev opened 2 years ago

funbeedev commented 2 years ago

About Bug or problem Any program using input() will not execute when action is running as it is waiting for user to input something

Steps to reproduce Modify a python file that uses the input() function to trigger GitHub action to run Example of action that failed because of this issue

Potential fix Find a way to verify programs that are using input()

Aaliya1708 commented 2 years ago

I can fix this easily by modifying the stdin using sys package, can you assign it to me?

Thanks

funbeedev commented 2 years ago

@Aaliya1708 Of course, you're assigned now!