The eval() function in Python | Evaluate python expressions

Veröffentlicht am: 04 November 2021
auf dem Kanal: trevenue44
1,183
27

eval() is an inbuilt function in python which makes it possible to evaluate expressions; mostly, python expressions. In this video, I'll introduce you to the eval() function in python

Link to article on eval() function: https://realpython.com/python-eval-fu...

Feel free to connect with me on twitter:   / trevenue44  

Check out my medium and hashnode blogging pages. Every now and then, I write articles there on matters I find interesting:
Medium:   / trevenue  
Hashnode: https://trevenue.hashnode.dev

0:00 - Intro
1:27 - Getting Access to the eval()
1:46 - Arguments of the eval()
2:18 - First Argument (Source/Expression)
2:53 - Second Argument (Globals)
3:34 - Local Varibles vs Global Variables
4:07 - Example using both globals and locals
5:26 - Ending Remarks

#Python #Programming #Technology

Photo of calculator by Mahmoud Amer: https://unsplash.com/@mahmoud_amer?ut...

Photo in thumbnail by Hitesh Choudhary: https://unsplash.com/@hiteshchoudhary...


Auf dieser Seite können Sie das Online-Video The eval() function in Python | Evaluate python expressions mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer trevenue44 04 November 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,183 Mal angesehen und es wurde von 27 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!