chs
= open("chapters").readlines()
f
= open("Contents.html","w")
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<TITLE>SWIG Users Manual</TITLE>
<H1>SWIG Users Manual</H1>
print "Processing %s" % c
os
.system("python makechap.py %s %d >> Contents.html" % (c
,num
))
f
= open("Contents.html","a")