2013-05-21から1日間の記事一覧

python クラスの継承

クラス名の後に継承するクラス名を()で囲んで記述する class WorkClass( SuperClass ): def __init__(self): SuperClass.__init__(self)