How to change directory in python How to tell if it is directory or file in Python
Nov 292009

>>>import os

>>>os.listdir(’.')

This will make a list containing the names of files and subdirectories.

Posted by weboom at 10:05 pm Tagged with:

Leave a Reply

(required)

(required)

Switch to our mobile site
Top Footer