python windows os.listdir path usageee code example Example: python windows os.listdir path usage yourobject = os.listdir('C:\\Users\\test\\files')