for file1 in file_list: if file1['title'] == '[name_of_target_folder]': folder_id = file1['id']
file_list = drive.ListFile({'q': "'{}' in parents and trashed=false".format(folder_id)}).GetList()