#!/usr/bin/python

def get_info():
  import sys
  f=sys._getframe()
  return (f.f_back.f_code.co_name, f.f_back.f_lineno)

if __name__=='__main__':
  print get_info()

  

相关文章:

  • 2021-10-07
  • 2021-10-25
  • 2022-12-23
  • 2021-11-23
  • 2021-12-28
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-06
  • 2022-02-26
  • 2021-10-01
  • 2022-03-07
  • 2021-09-18
相关资源
相似解决方案