<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>bioinfoer - Python语言</title>
    <link>https://bioinfoer.com/forum.php?mod=forumdisplay&amp;fid=60</link>
    <description>Latest 20 threads of Python语言</description>
    <copyright>Copyright(C) bioinfoer</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sun, 18 Oct 2026 22:32:59 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://bioinfoer.com/static/image/common/logo_88_31.gif</url>
      <title>bioinfoer</title>
      <link>https://bioinfoer.com/</link>
    </image>
    <item>
      <title>FC 27 Match Preparation Guide: How to Get Ready Before Every Game</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=773</link>
      <description><![CDATA[Preparation can have a major impact on performance in EA Sports FC 27. Many players focus only on what happens during matches, but decisions made before kickoff can influence tactics, squad balance, and overall results.
A good preparation routine hel ...]]></description>
      <category>Python语言</category>
      <author>lendzion</author>
      <pubDate>Thu, 15 Oct 2026 01:06:02 +0000</pubDate>
    </item>
    <item>
      <title>How TikTok Is Helping Young Entrepreneurs Build New Businesses in Italy</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=766</link>
      <description><![CDATA[For many young entrepreneurs, building a successful business no longer depends entirely on a physical storefront or traditional advertising. Social media has created new ways to introduce products, reach customers, and develop a recognizable brand.
I ...]]></description>
      <category>Python语言</category>
      <author>lendzion</author>
      <pubDate>Tue, 01 Sep 2026 06:01:54 +0000</pubDate>
    </item>
    <item>
      <title>MongoDB启动失败因WiredTigerLog被使用中</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=552</link>
      <description><![CDATA[背景
之前使用mongodb存储数据
关机后重启启动不了，报错
2024-12-26T11:59:45.098+0800 E  STORAGE \\journal\\WiredTigerTmplog.0000000001 to journal\\WiredTigerLog.0000000001: file-rename: MoveFileExW: 另一个程序正在使用此文件，进程无法访问。

关闭能关的，都 ...]]></description>
      <category>Python语言</category>
      <author>生信喵</author>
      <pubDate>Thu, 26 Dec 2024 04:12:34 +0000</pubDate>
    </item>
    <item>
      <title>用Python批量重命名文件</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=546</link>
      <description><![CDATA[今天，我们来整理文件夹中的文件，给某个文件夹下的所有文件重新命名。要求是给所有文件按照修改时间，按顺序在文件名前面加上编号。比如将文件 资料.xlsx重命名为 1. 资料.xlsx
import os

def Get_modify_time(file):
    return os.path.getmtime(file) #获取文件修 ...]]></description>
      <category>Python语言</category>
      <author>生信喵</author>
      <pubDate>Wed, 18 Dec 2024 15:18:12 +0000</pubDate>
    </item>
    <item>
      <title>【zipline】AttributeError: \'Series\' 报错</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=532</link>
      <description><![CDATA[[md]# 背景

最近使用了zipline量化框架。

报错

```
AttributeError: \'Series\' object has no attribute \'iteritems\'
```

# 环境

win10
python 3.10.15
zipline-reloaded 3.0.3
pandas 2.2.3

# 原因

pandas 2.0.0版本就移除了这个函数
https://github.com/pandas- ...]]></description>
      <category>Python语言</category>
      <author>生信喵</author>
      <pubDate>Sat, 16 Nov 2024 14:45:08 +0000</pubDate>
    </item>
    <item>
      <title>【zipline】AttributeError: \'UTC\' 报错</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=531</link>
      <description><![CDATA[[md]# 背景

最近使用了zipline量化框架。

报错

```
AttributeError: \'UTC\' object has no attribute \'key\'
```

# 环境

win10
python 3.10.15
zipline-reloaded 3.0.3

# 解决代码

找到原因是run_algorithm函数对日期类的报错

原报错使用代码

```
start_date = d ...]]></description>
      <category>Python语言</category>
      <author>生信喵</author>
      <pubDate>Sat, 16 Nov 2024 13:46:31 +0000</pubDate>
    </item>
    <item>
      <title>Python logger模块</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=529</link>
      <description><![CDATA[[md]# 1. logging模块简介

logging模块是Python内置的标准模块，主要用于输出运行日志，可以设置输出日志的等级、日志保存路径、日志文件回滚等；相比print，具备如下优点：

1. 可以通过设置不同的日志等级，在release版本中只输出重要信息，而不必显示大量的调试信息 ...]]></description>
      <category>Python语言</category>
      <author>生信喵</author>
      <pubDate>Thu, 14 Nov 2024 08:39:33 +0000</pubDate>
    </item>
    <item>
      <title>chromedriver安装</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=524</link>
      <description><![CDATA[[md]# 背景

使用selenium自动化开发，提示确实chrome的驱动

# 原因

chromedriver的版本一定要与Chrome的版本一致，不然就不起作用。

# 下载chromedrive

有两个下载地址如下：

```
1、http://chromedriver.storage.googleapis.com/index.html

2、https://npm.taob ...]]></description>
      <category>Python语言</category>
      <author>生信喵</author>
      <pubDate>Wed, 09 Oct 2024 13:38:37 +0000</pubDate>
    </item>
    <item>
      <title>Python数字货币量化交易入门概述</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=521</link>
      <description><![CDATA[[md]# 为什么要数字货币量化投资

1. 克服人性的贪婪的恐惧，通过数学概率战胜市场
2. 币圈24小时交易，没法盯盘和交易，量化可以24小时交易
3. 币圈24小时交易，交易的数据量大，牛熊转换快,利于数据分析和建模
4. 相对来说，数字货币的量化交易简单容易，且竞争不激烈 ...]]></description>
      <category>Python语言</category>
      <author>生信喵</author>
      <pubDate>Thu, 05 Sep 2024 09:20:04 +0000</pubDate>
    </item>
    <item>
      <title>lesson02练习解答</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=520</link>
      <description><![CDATA[[md]## 第2课 练习

### 1. 给akshare加上自动延时等待

如果我们通过akshare高频度地获取数据，就有可能被服务器封IP。不过幸运地是，通过观察，我们发现服务器总是事先给出警告，如果在这种情况下，我们能主动加上延时等待，过一段时间后再试，则一般不会有问题。尝试 ...]]></description>
      <category>Python语言</category>
      <author>生信喵</author>
      <pubDate>Tue, 03 Sep 2024 15:44:09 +0000</pubDate>
    </item>
    <item>
      <title>lesson02</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=519</link>
      <description><![CDATA[[md]在量化分析中，投资者使用计算机编写程序，以历史市场数据为基础，通过模型建立和优化来判断市场趋势和进行投资决策。**数据**（包括行情数据、基本面数据、财务数据等等）是量化分析的基础。

1990 年底，上交所成立时，交易是依靠红马甲喊单撮合的。每个交易日， ...]]></description>
      <category>Python语言</category>
      <author>生信喵</author>
      <pubDate>Tue, 03 Sep 2024 15:40:53 +0000</pubDate>
    </item>
    <item>
      <title>lesson01</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=518</link>
      <description><![CDATA[[md]# 01 课程导论

什么是量化交易？

**量化交易是指利用计算机程序来分析、预测证券市场走势并进行交易的方法**。在量化分析中，投资者使用计算机编写程序，以历史市场数据为基础，通过建立模型来判断市场趋势和进行投资决策。其优势是快速处理大量信息、减少主观因 ...]]></description>
      <category>Python语言</category>
      <author>生信喵</author>
      <pubDate>Tue, 03 Sep 2024 14:12:08 +0000</pubDate>
    </item>
    <item>
      <title>notebook高级技巧</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=517</link>
      <description><![CDATA[[md]# notebook高级技巧

网上有很多jupyter的使用技巧。但我相信，这篇文章会让你全面涨姿势。很多用法，你应该没见过。

## 1. 环境变量

默认情况下，jupyter notebook/lab不会读取你主机的环境变量。如果有一些secret（比如账号、密码）需要通过环境变量传递给noteb ...]]></description>
      <category>Python语言</category>
      <author>生信喵</author>
      <pubDate>Tue, 03 Sep 2024 03:50:56 +0000</pubDate>
    </item>
    <item>
      <title>notebook入门</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=516</link>
      <description><![CDATA[[md]# JUPYTER NOTEBOOK/Lab

---

Jupyter Notebook 是一种**交互式编程环境**，或称**探索式编程环境**。它由网页和服务器组成。

网页由一个个单元格组成，在单元格里编写代码，或者描述性文字。当我们执行代码单元格时，单元格的代码会被发送到后台服务器运行，输出 ...]]></description>
      <category>Python语言</category>
      <author>生信喵</author>
      <pubDate>Mon, 02 Sep 2024 13:21:14 +0000</pubDate>
    </item>
    <item>
      <title>使用python批量重命名</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=456</link>
      <description><![CDATA[[md]# 背景

从瑞客论坛下载下来的视频教程，都是mp4文件，但是有广告后缀。

其实很多教学来源的视频，都会这样，不过自己下载下来后，如果太长，不太美观，可以使用python语言把他去除。

# 直接上代码

```
import os

# 定义要去除的后缀部分
suffix_to_remove = \&quot; ...]]></description>
      <category>Python语言</category>
      <author>生信喵</author>
      <pubDate>Sun, 11 Aug 2024 15:24:01 +0000</pubDate>
    </item>
    <item>
      <title>【python项目安装】Some packages may not be found!</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=455</link>
      <description><![CDATA[[md]# 背景

最近安装python项目

```
https://github.com/Xinglab/CLAM
```

其中

```
python setup.py install
```

报错

```
Download error on https://pypi.org/simple/pybedtools/: [Errno 101] Network is unreachable -- Some packages may not be found!
Co]]></description>
      <category>Python语言</category>
      <author>生信喵</author>
      <pubDate>Sun, 28 Jul 2024 02:49:45 +0000</pubDate>
    </item>
    <item>
      <title>使用python语言备份脚本</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=444</link>
      <description><![CDATA[[md]# 背景

之前写的脚本和数据文件都混合在同一级目录中，因为文件夹过于庞大，一个一个整理实在耗费时间，所以想使用脚本判断属于脚本的单独复制到新的目录，同时保持目前的目录结构。

# 解决方案

使用python，代码如下：

```
import os
import shutil

def copy_ ...]]></description>
      <category>Python语言</category>
      <author>生信喵</author>
      <pubDate>Thu, 18 Apr 2024 05:06:36 +0000</pubDate>
    </item>
    <item>
      <title>面向对象版学员管理系统</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=441</link>
      <description><![CDATA[[md]![](https://files.mdnice.com/user/47194/8d13c60d-023e-44fb-8d96-26da2fcf53c3.gif)

# 目标

- 了解面向对象开发过程中类内部功能的分析方法
- 了解常用系统功能
  - 添加
  - 删除
  - 修改
  - 查询

![](https://files.mdnice.com/user/47194/2604d117-7783- ...]]></description>
      <category>Python语言</category>
      <author>生信喵</author>
      <pubDate>Tue, 16 Apr 2024 11:30:58 +0000</pubDate>
    </item>
    <item>
      <title>模块和包</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=439</link>
      <description><![CDATA[[md]![](https://files.mdnice.com/user/47194/8d13c60d-023e-44fb-8d96-26da2fcf53c3.gif)

# 目标

- 了解模块
- 导入模块
- 制作模块
- `__all__`
- 包的使用方法

![](https://files.mdnice.com/user/47194/2604d117-7783-44a6-be59-a9bd4f8e5bf0.gif)

# 一、模块
 ...]]></description>
      <category>Python语言</category>
      <author>生信喵</author>
      <pubDate>Tue, 16 Apr 2024 11:26:49 +0000</pubDate>
    </item>
    <item>
      <title>异常</title>
      <link>https://bioinfoer.com/forum.php?mod=viewthread&amp;tid=438</link>
      <description><![CDATA[[md]![](https://files.mdnice.com/user/47194/8d13c60d-023e-44fb-8d96-26da2fcf53c3.gif)

# 目标

- 了解异常
- 捕获异常
- 异常的else
- 异常finally
- 异常的传递
- 自定义异常

![](https://files.mdnice.com/user/47194/2604d117-7783-44a6-be59-a9bd4f8e5bf0.gi ...]]></description>
      <category>Python语言</category>
      <author>生信喵</author>
      <pubDate>Tue, 16 Apr 2024 11:26:14 +0000</pubDate>
    </item>
  </channel>
</rss>