Patching the standard output from the sys module is precisely what it appears like, but you need to be familiar with a few gotchas: Inquiring the person for any password with input() is a bad strategy because it’ll clearly show up in plaintext as they’re typing it. Be certain your printers have sensible names that Plainly identify them as