This class is responisble for taking in out expected html formatted
file and allowing us to manipulate the central table of interest while
keeping the rest of the html available for later writing to a disk.
|
|
|
setContextKeys(self,
newStartKey="",
newEndKey="")
Calling self.setContectKeys will allow you to specify two new context
keys to select a single table from a parsed html file. |
source code
|
|
|
readfile(self,
filename)
Reads in a text html file given a filename. |
source code
|
|
|
|
|
getColumnByText(self,
textString='',
colNum=1)
Given a text string expected in Column #1 we select the specified
column given as an argument here. |
source code
|
|
|
showRows(self)
Call this method after reading the html to literally see the row
labels inside the HTML table we are manipulating. |
source code
|
|
|
getRowList(self)
This method gets the list of rows in the table for that htmlPage()
instance. |
source code
|
|
|
showCols(self)
Call this method after reading the html to literally see the column
labels inside of the html table we are manipulating. |
source code
|
|
|
|
|
insertTextAtCoord(self,
RowNum,
ColNum,
Text)
Given a row number and column number insert the argument text over
what currently exists. |
source code
|
|
|
|
|
|
|
buildTableHTML(self,
formattingTxt="")
Call this method to build a single string that corresponds the the
html you want to have that will begin with <table> and end with
</table>. |
source code
|
|
|
writeTableHTML(self,
filename="table.html",
formattingTxt="")
Call this method to write just the html for creating the table to a
file. |
source code
|
|
|
__stripHTMLTags__(self,
stringIN)
Take input string and remove all tags inside of < > delimiters. |
source code
|
|
|
|
|
|
|
writeHTML(self,
filename)
Writes out the html that was manipulated to the file filaname. |
source code
|
|