import getpass, imaplib
M = imaplib.IMAP4(input("Servidor: "))
M.login(input("Nome de usuário: "), getpass.getpass("Senha: "))
M.noop()
M.logout()
Mostrando postagens com marcador Python. Mostrar todas as postagens
Mostrando postagens com marcador Python. Mostrar todas as postagens
segunda-feira, 13 de setembro de 2021
segunda-feira, 19 de julho de 2021
Hello World (WSGI - Py3)
Simples "Hello World!" para testar o mod_wsgi.
def application(environ, start_response):
body = b'Hello world!\n'
status = '200 OK'
headers = [('Content-type', 'text/plain')]
start_response(status, headers)
return [body]
status = '200 OK'
headers = [('Content-type', 'text/plain')]
start_response(status, headers)
return [body]
Assinar:
Postagens (Atom)