In my python standard library(Python 2.7), I am looking for specific methods within the modules.
For e.g. if i open re.py, i can see that there are specific methods like findall,search etc.
The same is evident when i do dir(re). I can clearly see the above methods.
Similarly,when i do dir(os), there exists a method called system, which i usually call using os.system(cmd_name).
But when i look for this method under os.py, it does not exist. Am i doing something wrong? Please guide