<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>微控圈（MCU Loop） - Python</title>
    <link>https://mculoop.com/forum-23-1.html</link>
    <description>Latest 20 threads of Python</description>
    <copyright>Copyright(C) 微控圈（MCU Loop）</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Wed, 29 Apr 2026 03:05:26 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://mculoop.com/static/image/common/logo_88_31.gif</url>
      <title>微控圈（MCU Loop）</title>
      <link>https://mculoop.com/</link>
    </image>
    <item>
      <title>修改 pip 源为国内镜像源</title>
      <link>https://mculoop.com/thread-391-1-1.html</link>
      <description><![CDATA[[md]
由于网络原因，直接使用 pip 默认源会很慢得可怕，这里提供一些国内的镜像，你可以选择使用：

1. 阿里云：https://mirrors.aliyun.com/pypi/simple/
2. 中国科技大学：https://pypi.mirrors.ustc.edu.cn/simple/
3. 豆瓣(douban)：http://pypi.douban.com/simple/ ...]]></description>
      <category>Python</category>
      <author>阡陌</author>
      <pubDate>Thu, 28 Mar 2024 07:27:51 +0000</pubDate>
    </item>
    <item>
      <title>使用 pyinstaller 打包程序为单 exe 应用</title>
      <link>https://mculoop.com/thread-197-1-1.html</link>
      <description><![CDATA[[md]
一般的程序打包：

```
pyinstaller -F main.py
```

如果包含 html、js 等文件需要特别处理一下。



待打包示例源代码 main.py：

```
#!/usr/bin/python
# -*- coding: UTF-8 -*-

# 生成资源文件目录访问路径
def resource_path(relative_path):
    if getatt ...]]></description>
      <category>Python</category>
      <author>阡陌</author>
      <pubDate>Sat, 02 Mar 2024 06:59:12 +0000</pubDate>
    </item>
    <item>
      <title>Python 数据类型与条件运算笔记</title>
      <link>https://mculoop.com/thread-189-1-1.html</link>
      <description><![CDATA[[md]
## 数据类型

整数、浮点数、字符串（单引号、双引号、三引号、r 标记）、布尔值（True、False）、空值（None）、列表、字典、集合、用户自定义数据类型



## 字符串

字符串的单引号、双引号基本没有区别。

str 在内存中是用 Unicode 编码的



### str 与 byte ...]]></description>
      <category>Python</category>
      <author>阡陌</author>
      <pubDate>Sun, 25 Feb 2024 02:27:20 +0000</pubDate>
    </item>
    <item>
      <title>PyQt 的安装与 PyCharm 的相关配置</title>
      <link>https://mculoop.com/thread-52-1-1.html</link>
      <description><![CDATA[[md]

## 安装

```
pip install PyQt5-tools
```

命令执行后会自动安装 PyQt5-sip PyQt5-tools pyqt5 等库。
PyQt5-tools 包含了 designer.exe 等工具。

SIP 库的作用是为 C 和 C++ 库创建 Python 绑定。

## 配置PyCharm菜单

Settings -&gt; Tools -&gt; External Tools
 ...]]></description>
      <category>Python</category>
      <author>阡陌</author>
      <pubDate>Mon, 25 Dec 2023 15:58:32 +0000</pubDate>
    </item>
    <item>
      <title>Windows 安装 Python 3.7.1</title>
      <link>https://mculoop.com/thread-42-1-1.html</link>
      <description><![CDATA[[md]

安装的时候默认已经包含了 pip，另外还要选中将 Python 路径加到 PATH 变量中去。

![img](https://file.mculoop.com/images/2022/12/08/202212081459164.png)

安装完后自动在用户的Path变量中加入了两个路径：

C:%users\\Matt\\AppData\\Local\\Programs\\Python\\Py ...]]></description>
      <category>Python</category>
      <author>阡陌</author>
      <pubDate>Tue, 19 Dec 2023 10:25:27 +0000</pubDate>
    </item>
    <item>
      <title>Python 包管理</title>
      <link>https://mculoop.com/thread-36-1-1.html</link>
      <description><![CDATA[[md]

## distutils

distutils 是 Python 标准库的一部分，其初衷是为开发者提供一种方便的打包方式， 同时为使用者提供方便的安装方式。

## setuptools （easy_install）

setuptools 是 Python 的基础包工具，可以帮助我们轻松的下载，构建，安装，升级，卸载 pytho ...]]></description>
      <category>Python</category>
      <author>阡陌</author>
      <pubDate>Tue, 19 Dec 2023 09:52:29 +0000</pubDate>
    </item>
  </channel>
</rss>