In this tutorial I’ll help demystify what’s behind class methods, static methods, and regular instance methods. If you develop an intuitive understanding for their differences you’ll be able to write object-oriented Python that communicates its intent more clearly and will be easier to maintain in the long run.
This is a guest blog post by Dan Bader. Dan helps Python developers take their coding skills to the next level with Python tutorials, books, and online training… Read the rest
You can’t always, easily, keep up with the latest and greatest of what is coming out in django, so since we have a new release candidate for django 1.11 here are a few of the highlights.
I would say there are some interesting things that are on the horizon for django, especially since this is the last 1.x release before we are on to 2.0.
Django 1.11 Highlights… Read the rest
3.0 will sport a completely rewritten AMQP subsystem and the changes are nothing short of exciting. Put simply, everything is faster, leaner and even more robust.
are now synchronous which means that an AMQP broker will wait for a Zato service to confirm that the message was received or it was not. In earlier Zato versions, AMQP channels worked in an implicit always-acknowledge mode. Now each message taken off an AMQP queue can be explicitly … Read the rest
In this article we shall discuss a point to which we give little importance when we are beginning to programme our application and which, with little details, we can improve significantly. Security!
Nowadays, there are many methods through which a website may find itself in risk of being attacked, in the following link we can see the TOP 10 most common risks according to OWASP. Next, we’ll give you a few pieces of advice about security without mentioning those … Read the rest
We’ve got a special course released today, taught by Peter Bull: Machine Learning with the Experts: School Budgets!
Data science isn’t just for predicting ad-clicks, it’s also useful for social impact! This course is a case study from a machine learning competition on DrivenData. You’ll explore a problem related to school district budgeting. By building a model to automatically classify items in a school’s budget, it makes it easier and faster for schools to compare their spending with other schools. … Read the rest
In celebration of PyBites being around for 100 days we’re taking on the 100 Days of Code Challenge!… Read the rest
A couple of issues were resolved in PyCharm 2017.1, and Docker for Mac should now work out of the box. In this blog post we’ll show you how to set up a project with Docker Compose on a Mac. If you’re on Linux, the process is very similar. Unfortunately, we don’t support Docker Compose on Windows at this time. If you’re using Docker Compose on Windows, please let us know in the comments.
In this tutorial we’ll show how to … Read the rest