- 博客(4)
- 收藏
- 关注
转载 正则表达式语法大全
电话号码 /^1(3\d|4[5-9]|5[0-35-9]|6[2567]|7[0-8]|8\d|9[0-35-9])\d{8}$/ 以1开头,3可跟任一数字(\d),4可跟5-9,5可跟0-3或5-9 ,6后2567其中一个,7后是0-8,8后任一数字,9后是0-3或3-5,其余8位是任意数字(\d{8})16进制颜色 /^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/ 以#开始 ,6或3个字符(A-F、a-f、0-9)结尾。
2023-11-06 17:46:41
90
1
原创 python编译与加密
Python 打包的 exe 程序并不是将文件编译为真正的机器码,而是将脚本编译为 pyc 后连同依赖文件、当前的 Python 解释器一同打包起来,根据命令参数生成文件夹或打包成单独的可执行文件。python -m compileall /path/src/ #批量生成字节码文件,/path/src/是包含.py文件名的路径python -m py_compile test.py #把单个.py文件编译为字节码文件。pyc 文件是一种跨平台的字节码,由 python 的虚拟机来执行;
2023-11-06 17:41:32
560
1
翻译 【论文翻译】Clustering by Passing Messages Between Data Points
Clustering by Passing Messages Between Data PointsBrendan J. Frey*, Delbert Dueck通过在数据点之间传递消息进行聚类Abstract: Clustering data by identifying a subset of representative examples is important for processing sensory signals and detecting patterns in data. Suc
2020-08-12 22:32:32
220
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人