filmov
tv
Basics of exec() and eval() in Python

Показать описание
Simple, easy-to-follow tutorial covering the basics of two important functions, eval and exec. Also, a Github page for all my projects is coming soon, and you can collaborate with me! This is a stand-alone video.
This tutorial covers two important functions in Python. These are crucial to some projects requiring user input in a mathematical expression and/or code.
This tutorial video uses Python, but feel free to translate to languages like Java or C. If you have any questions regarding my implementation, comment so I can help you. Also, make sure to subscribe to "Vision" as more uploads are coming!
What's Next?
- Creating programming language part 3
- quick tips for efficient Python coding
- visual studio code best features
Summary of entire video in text:
A quick explanation of the eval and exec function. The eval function allows you to pass a mathematical expression and allow Python to solve it for you, without the need for any parsing. The exec function allows you to pass a line(s) of code into it, and Python will run it.
This tutorial covers two important functions in Python. These are crucial to some projects requiring user input in a mathematical expression and/or code.
This tutorial video uses Python, but feel free to translate to languages like Java or C. If you have any questions regarding my implementation, comment so I can help you. Also, make sure to subscribe to "Vision" as more uploads are coming!
What's Next?
- Creating programming language part 3
- quick tips for efficient Python coding
- visual studio code best features
Summary of entire video in text:
A quick explanation of the eval and exec function. The eval function allows you to pass a mathematical expression and allow Python to solve it for you, without the need for any parsing. The exec function allows you to pass a line(s) of code into it, and Python will run it.