I was messing around just trying to make a script that deletes items by \".zip\" extension.
import sys import os from os import listdir test=os.listdir(\"/U
Prepend the directory to the filename
os.remove("/Users/ben/downloads/" + item)
EDIT: or change the current working directory using os.chdir.
os.chdir