import os. path = './'. for file in os.listdir(path):. try: n = os.path.getsize(file). print('file : ', n, "Bytes") # 바이트 단위로 구하기.
確定! 回上一頁