2008-04-22から1日間の記事一覧
常山日記経由でメモ。これはすばらしい。 Chris's Wiki: Finding the name of your caller in Python (http://utcc.utoronto.ca/~cks/space/blog/python/FindingCallersName) import inspect def getcallerinfo(): fr = inspect.currentframe() try: fr = fr…
常山日記経由でメモ。これはすばらしい。 Chris's Wiki: Finding the name of your caller in Python (http://utcc.utoronto.ca/~cks/space/blog/python/FindingCallersName) import inspect def getcallerinfo(): fr = inspect.currentframe() try: fr = fr…