I'm trying to use the os.listdir module to list a directory and then store that output to a list. I'm probably doing this wrong: X = listdir(/) I get an invalid syntax error. How do I accomplish this? Sorry if this question is too newbyish. Thanks. SA