All articles:
5 Python tips and tricks

In this article we will present 5 convenient ways to write better code in Python. We'll discuss each one of them with examples at the same time trying to provide …

  Read article
How to use args and kwargs

Before we begin, there's someting you need to know - args & kwargs aren't difficult... they just look as they are. So if your face expression resembles the one in …

  Read article
Generate PDF Files with Django WeasyPrint

WeasyPrint is an elegant third-party solution for webdevelopers to create PDF files in a easy & convienient way. This library conists of a  rendering engine for HTML files and it's …

  Read article
Map, Filter & conditional List Comprehension

While working with lists, we often need to apply some some operations on them, or simply get only the items that meet the given condition. Instead of writing for loops, …

  Read article
Factory design pattern on a combat game example

Factory design pattern is responsible for the creation of new objects without specifying particular classes. The concept is to create a seperate static method (we will call ours simply "factory"), …

  Read article
Signup to the newsletter
To get the latest updates from pyplane
© copyright 2019 pyplane.com