python
李空空
这个人很懒。。。
展开
-
python3 发送邮件 send mail 使用 163 smtp服务器
监控本地网络速度,通过api 请求速度,发现速度异常,发送报警邮件:#! /usr/bin/env python3 # -*- coding: UTF-8 -*- import smtplib ,timefrom email.mime.text import MIMEText import requestsmailto_list=['×××××@163.com',"×××××××...原创 2018-03-10 14:46:33 · 1319 阅读 · 0 评论 -
[Python] SWGI编译C代码为Python module --- 编译Modis 经纬度转HV的C代码tilemap3_r4_0.tar
环境创建:MODLAND Tile Calculator代码下载及在线转换https://landweb.modaps.eosdis.nasa.gov/cgi-bin/developer/tilemap.cgihttps://landweb.nascom.nasa.gov/developers/tilemap/tilemap3_r4_0.tar此代码编译环境需要HDF4、HD...原创 2018-06-06 18:09:38 · 945 阅读 · 0 评论 -
[Ubuntu]深度学习环境安装NVIDIA-1080+CUDA9.0+cuDnn+Tensorflow-gpu-1.6.0+conda
1、安装Minicondawget https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda-1.6.0-Linux-x86_64.shbashMiniconda-1.6.0-Linux-x86_64.sh记得换源,提升包下载安装速度:conda config --add channels https:...原创 2018-07-30 16:42:41 · 1513 阅读 · 1 评论 -
[Python] Sanic chrome XMLHttpRequest CORS Access-Control-Allow-Headers 问题
Python Sanic chrome CORS使用sanic 框架 用vue-axiso发出请求在Chrome 的console 中报Access to XMLHttpRequest at 'http://xxxxxxxx' from origin 'null' has been blocked by CORS policy: Request header field content-ty...原创 2019-07-19 10:52:06 · 896 阅读 · 0 评论