os.system Python 3
I have a project on GitHub called PyDOS (https://www.github.com/DeBeast591/PyDOS/) and I have used
os.system() multiple times. I know that
os.system() can be dangerous and I want to use an alternitive to it. If there are any functions/modules that do these functions but their safe then please tell me. The commands that I need are
rm -rf (for removing files/folders),
mkdir (for making folders),
nano (for file editing), etc.
Thanks in advance.
From what I see, you shoudnt worry. Also, why is it dangerous?