#author("2020-03-14T05:45:06+00:00","","")
#topicpath

////////////////////////////////////////////////////////////////////////////////
* 目次 [#j87cd01d]
#contents();
下位ページ
#ls2(Lang/Python/);

////////////////////////////////////////////////////////////////////////////////
* 関数名の取得 [#c30b675f]
- 現在の関数名は、下記で取得出来る:
 sys._getframe().f_code.co_name
- 例:
 import sys
 def func_hoge() :
     print ("current function name is: ", sys._getframe().f_code.co_name)


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS