摘要: 使用方式: import random import string ''.join(random.sample(string.xxx + string.yyy + string.……, n)) 上面n表示要生成的随机字符串的长度,string.***表示生成的字符串包含的符号类型。 常用的符号类型有 阅读全文
posted @ 2020-06-08 11:17 森西子 阅读(1025) 评论(0) 推荐(0) 编辑
摘要: Mac的按键: command:⌘ option(alt):⌥ control(ctrl):⌃ shift:⇧ Tab:⇥ 回车Enter:↩︎ 没有来头的乱记录: Mac: ⌘+ctrl+F:应用最大化(适用于一些应用) ⌘+⇧+F:隐藏/显示Chrome中的书签栏和工具栏,遇到隐藏了莫慌,这个快 阅读全文
posted @ 2020-05-27 20:54 森西子 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 下载sublime Test 的地址:官方下载地址http://www.sublimetext.com/3 这里提供一个2020年 5月21日下载的安装包:(怎么插入安装包。。。) 汉化:参考连接https://blog.csdn.net/qq_41234116/article/details/82 阅读全文
posted @ 2020-05-22 11:36 森西子 阅读(2319) 评论(1) 推荐(1) 编辑
摘要: python通常代码打包 exe whl egg wheel即xxx.whl格式包 安装方法pip install xxx.whl 阅读全文
posted @ 2020-05-14 10:30 森西子 阅读(672) 评论(0) 推荐(0) 编辑
摘要: 空的 https://blog.csdn.net/aqtata/article/details/80277659 阅读全文
posted @ 2020-04-23 10:14 森西子 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 转载地址:https://www.iteye.com/blog/elf8848-1582137 PATH的格式为: PATH=$PATH:<PATH 1>:<PATH 2>:<PATH 3>: :<PATH N> ,中间用冒号隔开。 添加PATH环境变量: [root@localhost u-boo 阅读全文
posted @ 2020-04-23 10:08 森西子 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 直接瞟前辈的功劳: https://www.jianshu.com/p/a78845c3f476 https://www.jianshu.com/p/3436bcb17a03 连接奉上。 简单的说一下 分屏:command+D 多tab:command+t 别的后面补充。看上面两个大佬的连接应该可以 阅读全文
posted @ 2020-04-21 14:56 森西子 阅读(9397) 评论(0) 推荐(0) 编辑
摘要: 1、terminal(终端) : input(输入): which python 或which Python 或which python*(Python的版本号) 2、terminal: input : python >import sys > print sys.path 使用exit()退出Py 阅读全文
posted @ 2020-04-17 13:27 森西子 阅读(1522) 评论(0) 推荐(0) 编辑
摘要: 解决的问题是:向暂存区提交了多余的文件。 解决方法: 查看暂存区文件: git ls-files 记住要删除的文件名,从暂存区删除该文件:git rm --cache 文件名 删除后可以再次查看暂存区的文件是否已经删除了,使用命令后都会正常删除。 让本地与为提交的状态与远程仓库一致: git res 阅读全文
posted @ 2020-04-05 16:54 森西子 阅读(10224) 评论(0) 推荐(0) 编辑