2012-12-01から1ヶ月間の記事一覧
こういう場合。 public class HasProtectedMethod { protected void protectedMethod() { System.out.println("Should allow access from child."); } } class Child(HasProtectedMethod): def call_protected_method(self): HasProtectedMethod.protectedMe…
javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:756) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTrans…
#!/usr/bin/env python # -*- coding:utf-8 -*- domain = "YourDomain" passwd = "YourPasswd" import os, urllib2 import logging logging.basicConfig( level=logging.DEBUG, format="%(asctime)s | %(name)s | %(levelname)s | %(message)s", filename=os…