I want to block users for using the command prompt, but I also want to allow them to use Python. However, Python has the os module which users can use to execute commands, like:
>>> import os
>>> os.popen("command to be run eg start "C:/")
How can I stop Python from allowing os.popen (above) to run?