How can I add a new built-in function or module to the python interpreter ? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

How can I add a new built-in function or module to the python interpreter ?

3rd Jun 2021, 5:58 AM
lisa
2 ответов
+ 1
built-in by definition are not custom... built-in are bundled with python, you cannot add new ones to extend them ^^ however, you could upgrade your python interpreter to a new latest version providing new built-in functions/modules, as well as import third party or custom modules and define your own functions ;P
3rd Jun 2021, 6:03 AM
visph
visph - avatar
0
1.you need python ide 2.in python terminal you have to install module by pip install <module name> 3.import module in project by writing import <module name> 4.initialisation
3rd Jun 2021, 8:31 AM
Yash Wable 🇮🇳
Yash Wable 🇮🇳 - avatar