Very Cool Out Of Date subprocess.check_output

I am in the mac_changer code, and I was following the code correctly. The code did not perform correctly.
Results-
Pycharm code
image

Terminal results
image

I noticed the subprocess.check_output was outdated from the version I was using, because the pyhon,org website sent a warning message! (very cool)
image

I went to the recommended update from python.org
image

noticed subprocess.run, and changed the code

Results that worked seamlessly for me
image
image

I am not sure what made this happen, I am using an older 2019 version of PyCharm. I put this here just in case it helps someone else with the same problem I was having.

Thank you

Yes a lot of Python libraries keeps getting updated and if its not a critical thing, Python just shows warning and runs the program completely.

1 Like

I did not know that!

Haha, that will probably save a lot of time in the future. :+1::+1::+1:

Thank you!