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

浙公网安备 33010602011771号