"Some kid gets into your server and runs this script while you arent around to fix it it could not only take up all your memory but may even take your site offline."
As opposed to, say:
cd /; rm -rf *
I'm not getting the point here. If "some kid gets on to your server" with shell access, it won't matter all that much whether Python is installed or not. :-)
Fun story: when I read "cd /; rm -rf *" or anything similiar anywhere my fingers automatically lift off the keyboard and start to tingle. It's a self defense mechanism that I didn't know I had until now.