腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
2
回答
NoneType
‘
对象
没有
属性
'
group
’
错误
。
Python
代码
python
、
regex
Counter() m = re.match(regexp, line) cnt_clientIPs.update([m.
group
('clientIP'), m.
group
("action"), )('clientIP
浏览 29
提问于2020-04-29
得票数 1
回答已采纳
3
回答
Python
:'
NoneType
‘
对象
没有
属性
'
group
’
python
、
regex
、
attributeerror
=(\())", searchbox).
group
() 如何让脚本处理"No results"情况?
浏览 1
提问于2015-06-21
得票数 20
回答已采纳
1
回答
如何解决调用防火墙客户端时的grpc
错误
python
、
google-app-engine
、
google-cloud-firestore
、
fastapi
有时,有些调用(50次中的1次)由于此
错误
而失败: at ._parse_grpc_error_details ( /layers/google.
python
.pip/pip/lib/
python
3.7/site-packages
浏览 13
提问于2022-08-24
得票数 0
1
回答
Python
: AttributeError:'
NoneType
‘
对象
没有
属性
’
group
‘
python
、
regex
、
python-2.7
这是
代码
:for i in range(counter):7.07.0AttributeError: '
NoneType
' object has no attribute 'g
浏览 7
提问于2015-12-13
得票数 1
回答已采纳
13
回答
什么是“
NoneType
”
对象
?
python
、
null
、
nonetype
当我运行
python
脚本时,我会得到这个
错误
:我确信'str‘表示字符串,但我不知道'
NoneType
’
对象
是什么。我使用的是pexpect和opt解译send_command(child, SNMPS
浏览 24
提问于2014-01-13
得票数 120
回答已采纳
4
回答
“
NoneType
”
对象
没有
属性
“
group
”
python
、
youtube
、
download
有人能帮我写这段
代码
吗?我正在尝试制作一个可以播放视频的
python
脚本,我找到了这个下载Youtube视频的文件。我不能完全确定发生了什么,我也找不出这个
错误
。
错误
:回溯: videoUrl = getVideoUrl(content) F
浏览 4
提问于2013-02-26
得票数 22
回答已采纳
1
回答
NoneType
对象
没有
属性
'
group
‘
python-3.x
、
re
在第二部分中,我遇到了一些
代码
的问题,因为返回的是一个AttributeError,尽管我完全复制了书中写的内容: phoneNumRegex = re.compile(r'(\(\d\d\d\))(\d\d\d-\d\d\d\d)')mo.
group
(1) mo.
group
浏览 12
提问于2020-04-07
得票数 0
回答已采纳
2
回答
NoneType
‘object
没有
属性
'
group
’
python
、
data-analysis
我在
python
中是新手,我正在使用pycharm.when,我在
python
中运行这段
代码
,空闲它的运行,但是当我使用这个
代码
时,我在pycharm中,它的显示
错误
如下import sysline = line_string.rstrip() date = date.
group
() 第8
浏览 3
提问于2017-08-31
得票数 0
5
回答
为什么正则表达式返回
python
中的
错误
?
python
、
regex
正在尝试
python
中的以下正则表达式,但它返回一个
错误
...<=[WORD])\w+',str(line))我得到以下
错误
: AttributeError:'
NoneType
‘
对象
没有
属性
'
group
'
浏览 0
提问于2009-03-05
得票数 3
1
回答
Python
抛出AttributeError:'
NoneType
‘
对象
没有
属性
'
group
’
python
、
regex
这是我的文件的头样本:2.2.2.0 - 2.2.2.255这是我的
Python
regex
代码
:Traceback (most recent call last): write() File "
浏览 5
提问于2022-06-03
得票数 0
回答已采纳
1
回答
Strom:'
NoneType
‘
对象
没有
属性
'
group
’
apache-storm
我正在用wordcount示例尝试Petrel,但发现了以下问题: "/home/jonas/.local/lib/
python
2.7/site-packages/petrel-0.9.4.0.3-py2.7.egg/petrel/cmdline.py",$petrel提交--配置topology.yaml -logdir pwd '
NoneType
‘
对象
没有
属性
“
group<
浏览 3
提问于2016-04-15
得票数 0
1
回答
Googletrans API
错误
'
NoneType
‘
对象
没有
属性
'
group
’
python
我每天都使用googletrans API,但不幸的是,我今天收到了这个
错误
代码
。 google正在更新API吗?请帮我解决这个问题。~\AppData\Local\Programs\
Python
\
Python
38-32\lib\site-packages\googletrans\client.py in translate(self(r.text).
group
(1).replace('var ', '') 63 # unescape sp
浏览 14
提问于2020-11-04
得票数 0
1
回答
Regex和
错误
:'
NoneType
‘
对象
没有
属性
'
group
’
python
、
pandas
、
regex
、
lambda
、
nlp
VARIAVELCelular:(31) 97250-8639下面是我用来做这个的
代码
:正在返回的
错误
是: AttributeError: '
浏览 5
提问于2022-08-08
得票数 1
3
回答
试图捕获
python
中的一个大型多行块
python
、
regex
、
raspberry-pi
我对
python
很陌生,在运行
python
的raspberry pi上捕捉多行文本块时遇到了问题。linestring = """TEST TEST PIZZATEST TEST "
浏览 10
提问于2014-01-19
得票数 1
回答已采纳
2
回答
如何使用正则表达式从
python
中的字符串中提取大学/学校/学院名称?
python
、
regex
示例
代码
line = "should we use regex more often, University of Pennsylvania. let me know at 321dsasdsa=,|\d)/', line)我试图使用
python
中的正则表达式从给定的字符串中提取大学/学校/组织名称,但它提供了一个
错误
消息。
错误
消息 追溯(最近一次调用):文件"C:/
浏览 0
提问于2018-12-06
得票数 0
2
回答
AttributeError:'
NoneType
‘
对象
没有
属性
'
group
’
python
试图使用googletrans来检测
Python
中的语言
代码
。但是它会产生
错误
(参考
错误
块获取信息)。需要同一的解决方案import googletranstranslator = Translator()---> 62 code = self.RE_TKK.search(r.
浏览 18
提问于2021-01-29
得票数 3
回答已采纳
1
回答
AttributeError:'
NoneType
‘
对象
没有
'
group
’
属性
python
、
python-3.x
_translate(text, dest, src, kwargs)googletrans\gtoken.py", line 194, in do File "C:\Users\AB\AppData\Local\Programs\
Python
\
Pyt
浏览 31
提问于2020-12-04
得票数 3
2
回答
Python
正则表达式
NoneType
错误
python
、
regex
、
if-statement
我已经制作了两个
python
脚本来从文本文件中提取" to“。 #!/usr/bin/
python
f = open("filename.txt","r") text/script2.py但是第一个脚本给了我一个
错误
Traceback (most re
浏览 2
提问于2014-04-28
得票数 0
回答已采纳
2
回答
AttributeError:'
NoneType
‘
对象
没有
属性
'
group
’,
python
、
regex
、
cisco
、
netmiko
.*)["]',output).
group
(1)net_connect.disconnect()System image file is "flash:c2900-universalk9-mz.SPA.156-3.M6.bin"x =re.search(r'["]flash:/(.*)["]',output).
gr
浏览 1
提问于2019-12-11
得票数 0
回答已采纳
2
回答
AttributeError:'
NoneType
‘
对象
没有
属性
'
group
’
regex
、
python-3.x
d\d', row['address']) print(addy1.
group
(), addy2.
group
(), addy3.
group
()) File "excludenumsonst.py", line46, in <module>
浏览 1
提问于2016-03-07
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
如何编写出色的Python代码,并且避免其他错误的信息产生
Python学习(八)-面向对象类之进阶
Python自动监测自如房源状态,推送微信消息提醒状态变更
第十三讲——类、对象、对象的属性,方法
【python进阶】-dict和object
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券