我正在使用下面的代码来让它打印contact.dat的内容,但是我得到了一个错误。import pickle file_contents = infile.read()UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 36: character maps to <undefined&
Y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarilyconfig": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable-cli (5.4.28-1+d
它有一个下载链接,因为我无法在Stackoverflow中添加该文件。这个文件可以在结构复杂的Matlab中打开,所以我还在努力解压它。但是我想提取数据的文件是S1-ADL1.dat,位于上面链接的'dataset‘文件夹中。以下是文件中的内容:File Content 我使用的是代码: with open("S1-ADL1.dat") as infile:
file_contents = infile.readlines