website for lusty lavender: http://eln.ja13.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
337 B

#!/usr/bin/env python3
import sys, os
if len(sys.argv) < 2:
print(f'usage: {sys.argv[0]} dir', file=sys.stderr)
exit()
print('<ul class="versions">')
for fname in sorted(os.listdir(sys.argv[1])):
if fname.startswith('.'):
continue
print(f'\t<li><a href="{sys.argv[1]}/{fname}">{fname}</a></li>')
print('</ul>')