`eval`関数の危険性について説明します。`eval`はPythonで提供されている関数で、文字列として与えられた式をPythonのコードとして評価(実行)します。これにはいくつかの重要なセキュリティ上のリスクが伴います。 任意のコード実行のリスク: `eval`は与え ...
I discovered this feature in python when I was trying to optimise a chunk of code I wrote a few months back. I had a conversation with a colleague of mine at work and the response was that the usage ...