What is a callable in Python?

preview_player
Показать описание
A callable is a function-like object, meaning it's something that behaves like a function. The primary types of callables in Python are functions and classes, though other callable objects do exist.

00:00 Functions are callable objects
00:22 Classes are callables too
01:13 Callable class instances
01:47 Recap
Рекомендации по теме
Комментарии
Автор

explained beautifully and it was soft and clean thanks

AryanChowdhury-jw
Автор

Hi Trey, thanks for your Python morsels. Here you have another subscriptor..
In your last sentence "They [functions and classes] are not the only callables.."
What other callables are out there?
Thanks!

sepeslurdes
visit shbcf.ru