Pattern: Deprecated method
Issue: -
The method is marked as deprecated and will be removed in a future version of Python. Consider looking for an alternative in the documentation.
Example of incorrect code:
status = os.system("mycmd" + " myarg")
Example of correct code:
status = subprocess.call("mycmd" + " myarg", shell=True)