2004-06-09から1日間の記事一覧
ケツイ 二面ボスの赤針弾に引っかかってミス、三面道中でさりげなく二ミス、三面中ボスでミス、四面道中でナイトメアの主砲誘導に失敗してミス、四面ボス前で弾に追い詰められて終了。とりあえず、スフィンクス(二面ボス)の赤針弾と二回目の肝油ドロップ弾で…
class Singleton(object): __instance = None def __new__(cls): if cls.__instance is None: cls.__instance = object.__new__(cls) return cls.__instance
Python でクラス関数を作成したい時に使用する。C++ で言う static の様なもんですな。 class A: def __staticMethod(v): print 'staticMethod: v =', v staticMethod = staticmethod(__staticMethod) def foo(self, v): print 'foo: v =', v # テスト A.sta…
This is a compiler for a subset of the C programming language. It was written in Python during the spring of 2004.
PC-8001 版って聖剣伝説ベースかよ!いやー、笑った笑った。