下面Python3程序输出结果是:()importreext4fs_sta...
发布于 2022-03-03 11:07:01
下面Python3 程序输出结果是:()
importre
ext4fs_stats= re.compile(r'Created filesystem with ([0-9]+)/([0-9]+)blocks')
line= 'Created filesystem with 123/456 blocks'
m= ext4fs_stats.match(line)
print(m.group(0))
登录后免费查看答案
关注者
0
被浏览
24