2018-07-28 16:50:31 -04:00
|
|
|
import glob
|
|
|
|
path = "./*"
|
|
|
|
|
|
|
|
files=glob.glob(path)
|
|
|
|
print("<P>")
|
|
|
|
for file in files:
|
|
|
|
if file[-3:] == "odt":
|
|
|
|
print(file[2:-4] + " " + "[<a href=\"http://criticalsarcasm.com/school_essays/essays/" + file[2:-3] +"html\">HTML</a>] [<a href=\"http://criticalsarcasm.com/school_essays/essays/" + file[2:] + "\"> ODT</a>]" )
|
|
|
|
print("")
|
|
|
|
print("<BR>")
|
|
|
|
if file[-4:] == "pptx":
|
2018-07-28 16:53:20 -04:00
|
|
|
print(file[2:-5] + " " + "[<a href=\"http://criticalsarcasm.com/school_essays/essays/" + file[2:] + "\">PPTX</a>]" )
|
2018-07-28 16:50:31 -04:00
|
|
|
print("<BR>")
|
|
|
|
print("</P>")
|