摘要:
Python 3.4+ Use pathlib.Path.stem >>> from pathlib import Path>>> Path("/path/to/file.txt").stem'file'>>> Path("/path/to/file.tar.gz").stem'file.tar' 阅读全文
摘要:
>> smartctl --test short /dev/sdasmartctl 7.2 2020-12-30 r5155 [aarch64-linux-5.10.176] (localbuild)Copyright (C) 2002-20, Bruce Allen, Christian Fran 阅读全文