csv2html.translator
index
csv2html/translator.py

# -*- coding: utf-8 -*-

 
Modules
       
PIL.Image
commands
datetime
locale
os
re
shutil

 
Classes
       
__builtin__.object
Translator

 
class Translator(__builtin__.object)
    トランスレータ:CSVファイルをHTMLページへと変換するプログラム。
 
  Methods defined here:
__init__(self, classOfAttributes)
トランスレータのコンストラクタ。
compute_string_of_days(self, period)
在位日数を計算して、それを文字列にして応答する。
compute_string_of_image(self, tuple)
サムネイル画像から画像へ飛ぶためのHTML文字列を作成して、それを応答する。
execute(self)
CSVファイルをHTMLページへと変換する。
translate(self)
CSVファイルを基にしたテーブルから、HTMLページを基にするテーブルに変換する。

Class methods defined here:
perform(the_class, class_attributes) from __builtin__.type
属性リストのクラスを受け取り、CSVファイルをHTMLページへと変換する。

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)