What Is The Statement That Can Be Used In Python If A Statement Is Required Syntactically But The Program Requires No Action

What Is The Statement That Can Be Used In Python If A Statement Is Required Syntactically But The Program Requires No Action


  • 12 Jan, 2012

    Pass is a no-operation/action statement in pythonIf we want to load a module and if it does not exist, let us not bother, let us try to do other task. The following example demonstrates that.Try:Import module1Except:Pass

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.