上一页 1 ··· 51 52 53 54 55
摘要: 程序一: #include <stdio.h> int main() { int s = 0; for (int i = 1; i <= 10; i+=3) { s += i; } printf("s = %d\n", s); printf("i = %d\n", i); return 0; } 程 阅读全文
posted @ 2020-04-22 10:29 profesor 阅读(4021) 评论(0) 推荐(0) 编辑
摘要: 先来看个小程序: #include <stdio.h> int main() { double a = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117 阅读全文
posted @ 2020-04-22 10:09 profesor 阅读(853) 评论(0) 推荐(0) 编辑
摘要: Ubuntu中,首先安装unrar sudo apt install unrar 安装完后,使用 which unrar 会得到安装位置 /usr/bin/unrar 还需要安装rarfile pip3 install rarfile from rarfile import RarFile RarF 阅读全文
posted @ 2020-04-18 18:19 profesor 阅读(3528) 评论(0) 推荐(0) 编辑
摘要: Ubuntu上使用的是python3, 安装使用: pip3 install <package name> 卸载使用: pip3 uninstall <package name> 查看已经安装的某个package: pip3 show <package name> 阅读全文
posted @ 2020-04-18 18:04 profesor 阅读(431) 评论(0) 推荐(0) 编辑
摘要: https://zhile.io/2018/08/25/jetbrains-license-server-crack.html 阅读全文
posted @ 2020-04-17 22:53 profesor 阅读(1345) 评论(0) 推荐(0) 编辑
摘要: 启动首页,右下角有Configure和Get Help,在Configure中找到Create Desktop Entry,点击设置。 接下来就可以在系统搜索栏中搜索Pycharm,来启动软件 启动后,在Docker栏目中,鼠标放到软件上,右键,add to favorites 阅读全文
posted @ 2020-04-17 22:49 profesor 阅读(1205) 评论(0) 推荐(0) 编辑
摘要: ubuntu中,终端命令行快速打开html文件方法在terminal中,用命令快速调用浏览器打开html文件,而非通过鼠标点击的方式。 firefox浏览器 firefox prospero.html chrome浏览器 chromium-browser prospero.html 或者直接用: s 阅读全文
posted @ 2020-03-23 21:08 profesor 阅读(6975) 评论(0) 推荐(0) 编辑
摘要: 方法一: file = open("test.txt", 'w').close() 直接清空“test.txt”里面的内容 方法二: with open("test.txt", 'r+') as file: file.truncate(0) 阅读全文
posted @ 2020-03-19 20:30 profesor 阅读(32298) 评论(0) 推荐(1) 编辑
摘要: 查询地址http://www.teach.ustc.edu.cn/category/calendar 科大教务处http://www.teach.ustc.edu.cn/ 阅读全文
posted @ 2020-03-06 09:42 profesor 阅读(211) 评论(0) 推荐(0) 编辑
上一页 1 ··· 51 52 53 54 55