python应用
文章平均质量分 63
gu_zhi
这个作者很懒,什么都没留下…
展开
-
python 读取文件内容向多人发邮件
# -*- coding: utf-8 -*- import smtplib import email.charset chst = email.charset.Charset(input_charset = 'utf-8') # header里分别定义发件人,收件人(收件人如果是多个,用list即可)以及邮件主题。 header=("From:%s\nTo:%s\nSubject:%s\n...原创 2018-09-13 19:29:04 · 1145 阅读 · 0 评论 -
./vimrc编辑,根目录下 vim ~/.vimrc
"config begin "impressive : http://amix.dk/vim/vimrc.html "========================================== " general "========================================== set history=1000 " history存储长度 ...原创 2018-12-27 11:34:43 · 1062 阅读 · 0 评论 -
mysql ERROR 1524 (HY000): Plugin 'unix_socket' is not loaded解决方法
1. first, run these bash commands sudo /etc/init.d/mysql stop # stop mysql service sudo mysqld_safe --skip-grant-tables & # start mysql without password # enter -> go mysql -uroot # connect t...转载 2018-12-28 10:31:59 · 2298 阅读 · 0 评论 -
基于Python的Appium Android自动化爬坑路程总结
1、准备工作: Appium:appium-desktop-setup-1.11.0.exe # download:https://github.com/appium/appium-desktop/releases/tag/v1.11.0 jdk:jdk-8u191-windows-x64 weixin:weixin703android1400.apk eclipse:eclipse-...原创 2019-03-15 11:37:50 · 614 阅读 · 0 评论