When to use Static Methods in Python? Never
In this article, we explain why you shoul never user static methods in Python.
In this article, we explain why you shoul never user static methods in Python.
Academic for sure, but I was surprised to find that date.strftime() is slower than converting the date to a string, splitting the string into a list, unpacking the list into year, month, and day strings and then concatenating those to format the date.
Forgetting your MySQL root password can be scary, but thankfully there is a way to reset it. In this brief article, we will show you how.
In this short video, we use Python to explain how scientific notation works.
In this brief article and accompanying video, we explain the Python magic __main__ variable.
Altova’s XMLSpy is an extremely powerful XML editor with excellent tools for creating XML Schemas, XSLTs, and basic XML documents, and the great news is that you can try it before buying it.
With Google’s webp format, you get the same quality image at a much smaller file size, meaning faster downloads for your users. Google offers conversion tools for converting png, gif, and jpeg files to webp, but you can also easily roll your own with Python and PILLOW. In this tutorial, we’ll show you how.
I’ve made a lot of customization to Django admin using JavaScript. Although Django admin supports jQuery and will continue to do so in Django 4.0, I stick to vanilla JavaScript. In this article, I explain why.
Django’s syndication framework makes it pretty simple to create RSS feeds. It is a little trickier if you want to create separate feeds based on a category or a tag. For example, we have a feed at /articles/django/feed/ that returns articles about Django and a feed at /articles/python/feed/ that returns articles about Python. In this […]
Learn how to install the free version of Oracle: Oracle Database Express Edition (XE) version 21c and SQL Developer, Oracle’s free tool for developing and managing databases.