Tutorials about python - page 5

Log exception in python

When exceptions happen, you may find it useful to log the exception and its stack trace for further investigation. In this article, you will learn how to retrieve the current exception and its properties - its type and its stack trace

Mimic reference parameters in python

In my recent project, I needed to migrate C# code which uses reference parameters. Unfortunately, python does not support reference parameters - In this article, we will see how can we mimic their semantics in python