{{{#!python import os,sys datadir='Desktop/' files=os.listdir(datadir) size=0 for file in files: size +=os.path.getsize(datadir+file) print size }}} {{{#!python import os,glob directory='satbildverarbeitung2' #Hier gewünschtes Verzeichnis angeben files=glob.glob('directory/*.*') for i in files: size=os.path.getsize(i) print i,size }}}