ทุกฟังก์ชันมี attribute __name__ ตัวอย่าง def some_func(): return 0 print(some_func.__name__) ผลลัพธ์ some_func