I am beginner to Python Code , I need use step by step command prompt commands outcome using python code.
For example :
dir
cd log
dir
outcome :
list of all directories
now change directory to log
now shows the list of log directories files
Above functionalites i need to do in python code in same session