"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...
Ju
Hello,
just for the records:
below is some code that works
### convert all t2t docs in a directory.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import subprocess
import fnmatch
documentation_directory = './doc/'
for file in os.listdir(documentation_directory):
if fnmatch.fnmat
Tim Michelsen wrote:
Hello,
I am working on a automatic documentation program to convert my txt2tags
based documentations sources into HTMl files. I want to use txt2tags via
command line.
Here's my code:
#
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import subprocess
import
Hello,
I am working on a automatic documentation program to convert my txt2tags
based documentations sources into HTMl files. I want to use txt2tags via
command line.
Here's my code:
#
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import subprocess
import fnmatch
documentation