The
dirlisting.py script
I need almost daily. However, I came up with the old version very quickly to its limits. In time it became more and more difficult to install improvements, since the source code was too messy easily. own bottom.![](http://1.bp.blogspot.com/_-C3w1uboIpk/S_AP5avZSHI/AAAAAAAABCA/lDlBsxR6wr8/s200/dirlisting.png)
all Python versions 2.5 and 2.x series are officially supported. (However, it can also work with older versions.)
Full Unicode support. The output code is clean and valid and has also indentation, so that a post-processing by humans or script simple.
The content of this page was separated from CSS and Javascript. It is possible for CSS and Javascript directly into the HTML page, or specify an external source. (The script can be optional of course just print the CSS and JavaScript code so that it can be stored in separate files.)
- The Javascript component was greatly improved. The generated page, however, can also use without active Javascript.
- The title is changed.
- You can specify a file into which the script writes the output. Furthermore, attempts to exclude from the output file is the file listing.
- support for Unix-like operating systems and Windows.
- An example page for the output of the script is the download page all my current projects
- . The output of the script was, however, in this case piped through a small sed script. The difference from the normal output of the script is minimal (mainly replaced the "git" directory completely).
- Over time, certainly include further improvements, depending on what I need now.
0 comments:
Post a Comment