随笔分类 - Python
1
摘要:http://blog.csdn.net/delphiwcdj/article/details/5746560
阅读全文
摘要:python -m py_compile file.py
阅读全文
摘要:http://blog.csdn.net/yifengfuxue/article/details/79015651
阅读全文
摘要:http://blog.csdn.net/shijichao2/article/details/61940931
阅读全文
摘要:http://blog.csdn.net/yasi_xi/article/details/38384047
阅读全文
摘要:https://www.cnblogs.com/yjd_hycf_space/p/6880026.html
阅读全文
摘要:https://www.jianshu.com/p/c635d3c798c2
阅读全文
摘要:https://www.jianshu.com/p/8779eac7f313
阅读全文
摘要:http://blog.csdn.net/dream_angel_z/article/details/45724515
阅读全文
摘要:datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
阅读全文
摘要:#coding:utf8 from smtplib import SMTP_SSL from email.header import Header from email.mime.text import MIMEText mail_info = { "from": "xxxx@qq.com", "t
阅读全文
摘要:http://www.ithao123.cn/content-41747.html http://www.th7.cn/system/lin/201703/205998.shtml
阅读全文
摘要:http://blog.csdn.net/gz_liuyun/article/details/52778198
阅读全文
摘要:http://www.linuxdiyf.com/linux/27910.html
阅读全文
摘要:试过很多其他的都不行 http://www.centoscn.com/CentosBug/softbug/2017/0424/8737.html
阅读全文
摘要:http://blog.csdn.net/u011630575/article/details/51204026
阅读全文
摘要:文中为Python2.6.6,改为Python2.6即可,因为没有/usr/bin/python2.6.6,只有/usr/bin/python2.6 http://blog.csdn.net/jcjc918/article/details/11022345
阅读全文
摘要:尝试了好多遍都不能成功,然后找到这个可以成功发送! #!/usr/bin/python#coding:utf-8 import smtplib from email.mime.text import MIMETextfrom email.utils import formataddrmy_sende
阅读全文
摘要:正则表达式使用反斜杆(\)来转义特殊字符,使其可以匹配字符本身,而不是指定其他特殊的含义。这可能会和python字面意义上的字符串转义相冲突,这也许有些令人费解。比如,要匹配一个反斜杆本身,你也许要用'\\\\'来做为正则表达式的字符串,因为正则表达式要是\\,而字符串里,每个反斜杆都要写成\\。你
阅读全文
摘要:1.>>> d = {'x': 'A', 'y': 'B', 'z': 'C' } >>> for k, v in d.iteritems(): ... print k, '=', v ... y = B x = A z = C 2.>>> L = ['Hello', 'World', 'IBM',
阅读全文
1