Can you use listdir to get all file names and then open them one by one? # This should return a list of all items on the desktop. import os # Change your_account_name to your account name print(os.listdir('/Users/your_account_name/Desktop/'))