Artturi Jalli

I'm an entrepreneur and a blogger from Finland. My goal is to make coding and tech easier for you with comprehensive guides and reviews.

Try Catch in Python

‘try…catch’ in Python: It’s Called ‘try…except’ (Error Handling Guide)

Error handling is an important aspect of coding. When errors are treated properly, the programs operate smoothly and cause no annoying crashes for the end users. In Python, error handling happens with a try-except code construct. (If you come from another programming language, there is no such thing as a try-catch statement in Python.) The …

‘try…catch’ in Python: It’s Called ‘try…except’ (Error Handling Guide) Read More »

black and white computer keyboard

Python kwargs: A Complete Guide to the ** Operator (Examples)

A Python function that takes **kwargs as an argument accepts any number of keyword arguments. For example: Now you can call the function with any number of keyword arguments: To deeper understand args and kwargs in Python, keep on reading. Arguments in Python Before learning what keyword arguments are, it’s worthwhile to have a look …

Python kwargs: A Complete Guide to the ** Operator (Examples) Read More »

man siting facing laptop

Python ‘continue’ Statement—A Complete Guide (with Examples)

Python continue statement is one of the loop statements that control the flow of the loop. More specifically, the continue statement skips the “rest of the loop” and jumps into the beginning of the next iteration. Unlike the break statement, the continue does not exit the loop. For example, to print the odd numbers, use …

Python ‘continue’ Statement—A Complete Guide (with Examples) Read More »