Python Lpad, open new python console import ldap certfile = '~/ad-server.