def StopAllProtocolsPy(): print '\nStopAllProtocolsPy' ixNet.execute('stopAllProtocols') ixNet.commit() time.sleep(2)