Python added syntax for what something called Variable Annotation in the version 3.6. Variable Annotation is basically an enhancement of type hinting, which was introduced in Python 3.5. The full explanation behind Variable Annotation is explained in PEP 526. In this article, we will have a quick refresher on type hinting and then introduce the […]
It's that time of year again where the holidays are upon us, so I am doing a sale of some of my works. You can get Python 101 for FREE and Python 201: Intermediate Python for 50% off. Here are the coupon codes you can use: For Python 101 - au-py101-free For Python 201 - […]
This week we welcome Matthew Makai as our PyDev of the Week! Matthew is the creator of Full Stack Python and he also works with Michael Kennedy on his Python for Entrepreneurs video course. You might also want to check out what he's been up to over on Github. Let's take a few minutes to […]
Sometimes it's fun to add a simple border to your photos. The Pillow package has a very easy method of adding such borders to your images via its ImageOps module. As usual, you will need to have Pillow installed to do any of the examples in this article. If you don't have it already, you […]
I recently came across a question on StackOverflow where the user wanted to know how to drag images onto their image control in wxPython and have the dragged image resize into a thumbnail. This piqued my interest and I decided to figure out how to do it. I knew that you could create a thumbnail […]
Sometimes when you take a photo you will find that it isn't quite what you wanted. The picture looks great, but it's just a little too dark. Or it's a little blurry and you need to add sharpness. The sharpness issue isn't anywhere near as bad nowadays because a lot of cameras will add sharpness […]