* Cantinho Satkeys

Refresh History
  • JP: dgtgtr Pessoal  4tj97u<z 2dgh8i k7y8j0
    03 de Agosto de 2026, 18:43
  • FELISCUNHA: dgtgtr   49E09B4F  e bom fim de semana  4tj97u<z
    01 de Agosto de 2026, 12:21
  • JP: try65hytr A Todos  4tj97u<z 2dgh8i k7y8j0 yu7gh8
    31 de Julho de 2026, 05:35
  • j.s.: ghyt74 a todos
    30 de Julho de 2026, 09:51
  • FELISCUNHA: ghyt74  pessoal  49E09B4F
    29 de Julho de 2026, 10:49
  • JP: dgtgtr Pessoal  4tj97u<z 2dgh8i k7y8j0
    27 de Julho de 2026, 19:40
  • j.s.: tenham um excelente domingo  yu7gh8 yu7gh8
    26 de Julho de 2026, 11:29
  • j.s.: ghyt74 a todos  49E09B4F 49E09B4F
    26 de Julho de 2026, 11:28
  • FELISCUNHA: ghyt74  e bom fim de semana  4tj97u<z
    25 de Julho de 2026, 11:29
  • JP: try65hytr Pessoal  4tj97u<z 2dgh8i k7y8j0 classic
    24 de Julho de 2026, 04:53
  • j.s.: try65hytr a todos  49E09B4F
    22 de Julho de 2026, 21:03
  • JP: try65hytr Pessoal  4tj97u<z 2dgh8i k7y8j0 yu7gh8
    21 de Julho de 2026, 03:46
  • momo2free: dorcal
    19 de Julho de 2026, 18:10
  • FELISCUNHA: Votos de um santo domingo para todo o auditório  k8h9m
    19 de Julho de 2026, 10:44
  • JP: try65hytr Pessoal  4tj97u<z  2dgh8i k7y8j0
    14 de Julho de 2026, 05:28
  • j.s.: ghyt74 a todos
    13 de Julho de 2026, 08:29
  • cereal killa: try65hytr pessoal  r4v8p 4tj97u<z
    08 de Julho de 2026, 22:21
  • JP: dgtgtr Pessoal 4tj97u<z 2dgh8i k7y8j0 r4v8p
    07 de Julho de 2026, 18:29
  • j.s.: tenham um bom domingo  4tj97u<z
    05 de Julho de 2026, 09:39
  • j.s.: ghyt74 a todos  49E09B4F
    05 de Julho de 2026, 09:38

Autor Tópico: Real Python - Evaluate Expressions Dynamically With Python eval()  (Lida 335 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Offline mitsumi

  • Sub-Administrador
  • ****
  • Mensagens: 134761
  • Karma: +0/-0

MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English | Duration: 8 Lessons (49m) | Size: 116.7 MB

The built-in Python function eval() is used to evaluate Python expressions. You can pass a string containing Python, or a pre-compiled object into eval() and it will run the code and return the result.

Although Python's eval() is an incredibly useful tool, the function has some important security implications that you should consider before using it. In this course, you'll learn how eval() works and how to use it safely and effectively in your Python programs.

In this tutorial, you'll learn:

How Python's eval() works
How to use eval() to dynamically evaluate arbitrary string-based or compiled-code-based input
How eval() can make your code insecure and how to minimize the associated security risks
The code in this course was tested with Python 3.9.0, eval() has not changed much and older versions should be compatible.


Download link:
Só visivel para registados e com resposta ao tópico.

Only visible to registered and with a reply to the topic.

Links are Interchangeable - No Password - Single Extraction