install.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:geekcloud 作者: Mr-Linus 项目源码 文件源码
def _input_smtp(self):
        while True:
            self.mail_host = raw_input('???SMTP??: ').strip()
            mail_port = raw_input('???SMTP?? [25]: ').strip()
            self.mail_addr = raw_input('?????: ').strip()
            self.mail_pass = raw_input('?????: ').strip()

            if mail_port: self.mail_port = int(mail_port)

            if self._test_mail():
                color_print('\n\t?????????, ??????????\n', 'green')
                smtp = raw_input('????? (y/n) [y]: ')
                if smtp == 'n':
                    continue
                else:
                    break
            print
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号