Python Programming controls The flow of program will be controlled with conditional statements where this flow  if condition if-else condition if-elif condition while loop while - else loop for loop for with if- else loop if condition  Here I would like to work on program control statements, wherein relate some operating system functionalities so that, this would give some basic prototype for the sys admin scripts.  #!/usr/bin/python  # This illustrate if condition # Filename      :       ifex.py  import os d=os.listdir('/home/pavanbsd/pybin') print d f='ifex.py' if f in d:         print "File exists" else:         print "Not found..."    if-elif-else ladder  No worries, coming soon...   When you need the task that need to be done repeatedly then your choice is using loops. Python provides two simple loop constructs easy to use! More powerful then other scripting compare to, it has 'else' block. while loop  Understand the power of while loop,...
Learn from the learners, learning is forever - Life is short it need Python programming !!!