Python F Strings

Python F Strings

January 13, 2020 0

As of Python 3.6 per PEP 498 a new way of string formatting was introduced called F strings. While Python already had multiple multiple ways of string formatting, f strings aimed to provide a way […]

Python Generator Post Title

Python – Generator

January 6, 2020 0

In Python Generators are a way to create an iterator. If you are unfamiliar with what an iterator is in python for the sake of this article it is an object that you can loop […]

Python Lambda

Python – Lambda

January 3, 2020 0

I would say lambda functions in Python were one of the things I had a hard time not only understanding but also seeing the practicality of using in much of my code. However once I […]

python name main

Python Understanding __name__ == ‘__main__’

December 30, 2019 0

  If you have been looking at any amount of Python code online and you have almost surly seen the following code at the end of a file.

When first seeing that if statement […]