I want to create a program that can change the file permission of a file in linux. In my program it will ask for the file location and change the permission of file that the user wanted.
Just like if a user entered test.txt for file and to change its permission for reading, writing and executing for all including group, owner and user. I know that, I need to run the terminal/bash command from python. But Is there any way to run bash command from python? Is there any external library/module in python or it comes built in?
Thanks in advance.