# Solve Python code allows changing the solver configuration by ConfigSolver object as shown below: ```{code-block} ConfigSolver.LargeDeflections = True ConfigSolver.ConvergenceDisp = True ConfigSolver.FrictionForceTolerance = Double(0.02,"Newton") ``` Also the solver output can be modified with SolverOutput command: ```{code-block} SolverOutput.NodeResults.Results_CSTATUS = False SolverOutput.NodeResults.Results_CSHEARF = False ``` As seen in mesh commands, Python code can execute the solver: ```{code-block} solve() ``` The 'solve' command can produce errors and not stop execution. It returns an error code, with 0 as a successful result: ```{code-block} if (solve() == 0): LogInfo("Solved OK!") else: LogError("Not solved!") ```