Well that's a good point. But Python2 sometimes gives warnings that the os.popen() method will soon be obsolete, and I've seen other moderators on this site still using it... but it hasn't gone obsolete (and I don't think it really will). Although I think popen2-4() are gone...
And most code that I use in production does not use print statements, it uses logging. Although yes some stuff on my personal github would need to be redone. I guess I just tend to like things that are more universal. And for me the old string formatting technique is fast and easy.
I still might try use the newer format method to get used to it as I do see other programmers at work using it. Thank you for the link as it points out the variations pretty nicely.
And most code that I use in production does not use print statements, it uses logging. Although yes some stuff on my personal github would need to be redone. I guess I just tend to like things that are more universal. And for me the old string formatting technique is fast and easy.
I still might try use the newer format method to get used to it as I do see other programmers at work using it. Thank you for the link as it points out the variations pretty nicely.