Is it possible to output the contents of a folder in python ? If, say you had a function and you would pass the folder path to its argument? What would be the simplest way for a beginner to take?
By "simplest" I mean, without using any modules.
Note
Google usually leads me to stackoverflow. Plus I am not looking for generic answers. I am looking for insight based on experience and wit, which I can only find here.