随笔分类 -  其他

一些零散的笔记
摘要:#include <cstdio> bool isLeap(int year) { if((year % 4 == 0 && year % 100 !=0) || (year % 400 == 0)) return true; else return false; } int main() { in 阅读全文
posted @ 2020-10-05 19:45 叶落未落 阅读(89) 评论(0) 推荐(0)
摘要:gcc+vscode教程:https://www.cnblogs.com/bpf-1024/p/11597000.html 补充 1. 编译器 选择mingw-w64的编译器(https://sourceforge.net/projects/mingw-w64/files/mingw-w64/) 另 阅读全文
posted @ 2020-09-25 23:55 叶落未落 阅读(429) 评论(0) 推荐(0)
摘要:一、国内镜像 阿里云 http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ 豆瓣(douban) http://pypi.douban.com/simple/ 清华大学 https 阅读全文
posted @ 2020-09-12 10:30 叶落未落 阅读(3222) 评论(0) 推荐(0)
摘要:设置好虚拟环境(我用的是virtualenvwrapper)后,在vscode中: 1. “ctrl+shift+p”调出设置框 2. 输入:Python:Select Interpreter 3. 选择作用范围,某个文件夹或整个工作区域 4. 选择某个虚拟环境的编译器 阅读全文
posted @ 2020-09-11 00:46 叶落未落 阅读(2161) 评论(0) 推荐(0)