Python exec() — A Hacker’s Guide to A Dangerous Function

preview_player
Показать описание
Have you ever wondered about the limits of a single line of Python code? Well, there are no limits to it—if you know this one powerful function. This tutorial shows you how to use Python’s built-in exec() function! 🤩

►► Do you want to thrive as a self-employed Python freelancer controlling your own time, income, and work schedule?

⁉️ Do you have a question? Leave a comment and we will answer as soon as possible!

⏰ Subscribe to the channel, never miss a new video!

🐍 Did you know? Finxter is one of the top 10 Python Blogs on the internet!

🚀 More about Python & Freelancing:

#finxter #python

Do you want to thrive as a self-employed Python freelancer controlling your own time, income, and work schedule? Check out our Python freelancer resources:

Finxter Python Freelancer Course:

Finxter Python Freelancer Webinar:

Leaving the Rat Race with Python (Book):
Рекомендации по теме
Комментарии
Автор

Amazing Video!!! Amazing chanel

is there a way to get the bytes of a python program and execute it instead of strings of code?
because i normally compile my code to run on windows

alanbique
Автор

Quick question if you have an answer. Why is it that when load another python script's contents into the exec function, it only sees one function in the code. I can't put more than one function in the code that gets ran because I get an error saying the function doesn't exist.

nastaciocabral-tafoya
Автор

Don't blame the function, it's just another tool, like eval(). Super useful and needed in some cases, you just need to know what are you doing with it.

yuli
Автор

u don t really have a real clue ma dud

gge