Glossary: Coding with AI Assistants
eval()
Also written: eval
A Python function that runs text as code. On user input it is dangerous because a user can type code that deletes files or sends data; convert with `int()` or `Decimal()` instead.
Glossary: Coding with AI Assistants
Also written: eval
A Python function that runs text as code. On user input it is dangerous because a user can type code that deletes files or sends data; convert with `int()` or `Decimal()` instead.