12 lines
240 B
Python
12 lines
240 B
Python
|
# Untitled - By: nian0 - 周日 11月 12 2023
|
||
|
|
||
|
import os
|
||
|
|
||
|
# 列出SD卡内容
|
||
|
print(os.listdir('/sd'))
|
||
|
|
||
|
# # 访问一个文件,例如读取一个文本文件
|
||
|
# with open('/sd/test.txt') as f:
|
||
|
# content = f.read()
|
||
|
# print(content)
|