"Tim Michelsen" <[EMAIL PROTECTED]> wrote in
below is some code that works

### convert all t2t docs in a directory.

for file in os.listdir(documentation_directory):
    if fnmatch.fnmatch(file, '*.t2t'):

You might be able to do this more succinctly using the glob.glob() function...

Just a thought,

Alan G.

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to