The eval() function in Python | Evaluate python expressions

Published: 04 November 2021
on channel: 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...


On this page of the site you can watch the video online The eval() function in Python | Evaluate python expressions with a duration of hours minute second in good quality, which was uploaded by the user trevenue44 04 November 2021, share the link with friends and acquaintances, this video has already been watched 1,183 times on youtube and it was liked by 27 viewers. Enjoy your viewing!