I love Python over PHP any day, but how exactly is Python better, if it has os.system() ?
Think of it this way; if a layer of your stack has the capability to destroy a system, it's probably best left speaking to another layer that actually speaks to a user.
PHP for web and Python for backend is not a foreign concept and so it makes little sense to apply one hammer to all variety of nails.