惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Hacker News: Ask HN
Hacker News: Ask HN
N
News and Events Feed by Topic
Forbes - Security
Forbes - Security
The Last Watchdog
The Last Watchdog
TaoSecurity Blog
TaoSecurity Blog
Schneier on Security
Schneier on Security
SecWiki News
SecWiki News
V
Vulnerabilities – Threatpost
Project Zero
Project Zero
O
OpenAI News
W
WeLiveSecurity
Security Archives - TechRepublic
Security Archives - TechRepublic
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
H
Hacker News: Front Page
Cisco Talos Blog
Cisco Talos Blog
Spread Privacy
Spread Privacy
Help Net Security
Help Net Security
P
Privacy & Cybersecurity Law Blog
K
Kaspersky official blog
S
Security @ Cisco Blogs
Latest news
Latest news
AWS News Blog
AWS News Blog
U
Unit 42
Martin Fowler
Martin Fowler
阮一峰的网络日志
阮一峰的网络日志
S
Secure Thoughts
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Know Your Adversary
Know Your Adversary
Scott Helme
Scott Helme
博客园 - 司徒正美
B
Blog RSS Feed
C
Check Point Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
D
Docker
Google Online Security Blog
Google Online Security Blog
Jina AI
Jina AI
aimingoo的专栏
aimingoo的专栏
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Last Week in AI
Last Week in AI
月光博客
月光博客
C
CXSECURITY Database RSS Feed - CXSecurity.com
S
SegmentFault 最新的问题
NISL@THU
NISL@THU
T
The Blog of Author Tim Ferriss
C
Cisco Blogs
Attack and Defense Labs
Attack and Defense Labs
小众软件
小众软件

博客园 - 假正经哥哥

自定义PlantUML和C4 Model样式 - 假正经哥哥 - 博客园 [dotnet core]使用Peach简化Socket网络通讯协议开发 发布xxl-job executor dotnet core 执行器的实现 Service Discovery And Health Checks In ASP.NET Core With Consul [译]Serilog Tutorial 使用DotNetty编写跨平台网络通信程序 基于DotNet Core的RPC框架(一) DotBPE.RPC快速开始 - 假正经哥哥 使用CSharp编写Google Protobuf插件 使用VsCode编写和调试.NET Core项目 C#使用ICSharpCode.SharpZipLib.dll压缩文件夹和文件 xEasyApp之后端的介绍 如果利用xjplugin编写基于web的应用系统 Xgcalendar 新增Php demo Exchange 2007 自定义传输规则 jquery xgcalendar ,tree,contextmenu,tabpanel 插件遭遇盗版 基于jQuery打造TabPanel 安装Office2010后Vs2008打开网页文件假死的问题 Python 学习笔记(半ZZ半自己写) Python 学习记录(2) 杯具的GQL
Python 学习记录(1)对象命名导致的问题
假正经哥哥 · 2010-02-03 · via 博客园 - 假正经哥哥

在我的demo中我尝试将字符串转换成datetime.datetime类型,如下所示

start_time =datetime.datetime.strptime('2010-2-4 07:30',"%Y-%m-%d %H:%M")

该语句按理没有任何问题,在命令行下都是OK的,但是一旦放入我的工程就报错了

AttributeError: 'module' object has no attribute 'day_abbr'

折腾了半天,才发现原来是我写了一个calendar的类和系统的冲突了,于是改名,一切正常了