通过pyinstaller将Python脚本转exe可执行文件
<h5>介绍</h5> <p>使用pip安装 <a href="http://www.pyinstaller.org/downloads.html">pyinstaller</a></p> <pre><code class="language-lang-pow...
51工具盒子
<h5>介绍</h5> <p>使用pip安装 <a href="http://www.pyinstaller.org/downloads.html">pyinstaller</a></p> <pre><code class="language-lang-pow...
<h4>1. requests模块介绍</h4> <p>requests文档:<a href="http://docs.python-requests.org/zh_CN/latest/index.html">http://docs.python-requests.org/zh_CN/latest/index....
由于Python解析Json内容较为复杂,特搬运该脚本: * path: 默认路径 * with_print: 输出格式化内容 * normal_path_print: 输出当前path ```lang-python import json import six def ppt(obj, path='.', with_print=False, normal_...
<h4>准备环境</h4> <h5>Redis</h5> <p>安装请参考:<a href="https://51tbox.com/">https://lolicp.com/linux/20211545.html</a></p> <h5>php安装re...
<p>以下为Woodpress主题目录下function.php中可添加的优化项,请根据需要进行修改。注意备份</p> <p>删除api.w.org</p> <pre><code class="language-lang-bash">add_action('after_setup...
随机森林 {#随机森林} ------------ 随机森林(Random Forest)算法是一种集成学习算法,它通过构建多棵决策树并将它们的预测结果进行整合来提高模型的预测准确性和泛化能力。随机森林算法的核心思想是"集思广益",即通过组合多个模型的预测来减少单一模型可能存在的偏差和方差,从而提高整体模型的性能。 单个决策树对**训练数据**往往具有较...
<p><strong>【简介】</strong></p> <p>Python是<strong>一种动态解释型的编程语言</strong> 。<strong>Python</strong> <strong>可以在</strong> <stron...
wordpress全局配置文件为:wp-config.php 设置版本修订次数,次数越多越占用数据库空间 ```lang-bash define( 'WP_POST_REVISIONS', 3 ); ``` 设置站点地址,可减少sql请求 ```lang-bash define('WP_SITEURL', 'https://lol...
###### 删除Link Header 编辑文件wp-includes/rest-api.php找到如下内容,进行删除即可。 ```lang-bash 864 header( 'Link: <' . esc_url_raw( $api_root ) . '>; rel="https://api.w.org/&q...
**macOS** {#heading-1} ====================== 系统要求 {#heading-2} ----------------- [Docker Desktop for Mac](https://docs.docker.com/docker-for-mac/) 要求系统最低为 macOS 必须是 10.15 或更高版本, Catalina、...