Python is English-like enough that everybody including non-programmers can
understand it.e.g

# Import the operating system module
import os

# define new function
def open_dir_tree(path):
    for File in os.listdir(path):
        file_or_dir = os.path.join(path, File)
        # Read the line below, this is almost full english language
        if os.path.isdir(file_or_dir) and not os.path.islink(file_or_dir):
            open_dir_tree(file_or_dir)
        else:
            print file_or_dir
open_dir_tree(".")




-- 
I develop dynamic website with PHP & MySql, Let me know about your site
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to