Re: Why does Python consistently have a relatively low number of exploits?
PHP is much easier to do something simply than Python and so is used by less skilled and less capable programmers.
This is nonsense, especially with Python's interactive mode and tools like Jupyter notebooks. In fact, Python's ease of use for non-programmers is one of the reasons why it's become so popular in areas like statistics and biology. The only thing it's easier to do in PHP is create a dynamic web page, though this is largely down to the implementation of mod_php than anything in the language itself.