Package wsatools :: Module File :: Class HTMLFile
[hide private]

Class HTMLFile

source code

Class for browser and monitor page files.

Instance Methods [hide private]
__init__(self, fileName)
Split name into parts, eg.:...
source code
writeHeader(self, title, cssStyleFiles, baseUrl=None)
Write the standard header info into the file.
source code
writeTimestamp(self, semester, timestamp, db)
Write the monitor page timestamp.
source code
Write the genaral footer into the file.
source code

Inherited from File: aopen, chmod, close, copyFile, exists, getsize, isClosed, readline, readlines, remove, ropen, wopen, writeline, writelines, writetheline

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, fileName)

source code 
Split name into parts, eg.:
{           path                   }{         base                }
{        topdir        }{  subdir  }{         root           }{ext}
{ diskdir  }{  common  }{          fileID (w/o cat)     }
                                    { sdate }{runno}{ ftype  }

Overrides: object.__init__
(inherited documentation)