You are viewing a single comment's thread. Return to all comments →
I am new to Python, but eval() is considered bad practice and contains a security hole: http://stackoverflow.com/a/9384005
This is how I made mine and it avoids that security hole:
cmd = "l.{}({},{})".format(cmd, num[0], num[1])
exec(cmd)
Seems like cookies are disabled on this browser, please enable them to open this website
Equal
You are viewing a single comment's thread. Return to all comments →
I am new to Python, but eval() is considered bad practice and contains a security hole: http://stackoverflow.com/a/9384005
This is how I made mine and it avoids that security hole:
cmd = "l.{}({},{})".format(cmd, num[0], num[1])
exec(cmd)