[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Scripting language
That is the sort of thing I do not want to expose.
(And that would remove the current users home directory.)
On Dec 18, 2006, at 6:02 PM, Luke Paireepinart wrote:
Patrick Mullen wrote:
I don't see how this is safer...
def make_ball_bounce(ball):
import os
os.system('rm -rf ~')
(I don't know what that does, since I am not on Linux. I got it
from http://mail.python.org/pipermail/python-list/2002-July/
155190.html ,
but I suspect it does something bad :))