Wonder what the f**k pkg-resources==0.0.0 is? This is caused by an error of the virtualenv library. Learn how to fix it.
Have you ever seen “@” symbols in Python code and wondered how they work and what they do? The expressions used with them are called decorators, and while they may seem magical at first glance, understanding them is not a masterpiece. In this post we are going to demystify the decorators in Python and explain what they do, how they work, and how you can create them yourself!
Python isn’t the fastest language by far, but it is fun and forgiving due to the dynamic typing and the reduced response because of being interpreted rather than compiled. There are other languages that are way faster when it comes to computational speed. But that’s not a reason to abandon Python. In our first video, we want to show you 5 ways to speed up Python code without sacrificing any readability. Yannic SchröerI am a developer and entrepreneur from Germany. I chose studying computer science because I love building things. I am of the opinion that there isn’t one truth (especially for computer science concepts) and whoever claims so isn’t that trustworthy in my eyes. I constantly try to improve things and myself. In my spare time I support businesses by offering them most of my services for free. Beside that I am kind of addict to e-learning courses. code-specialist.comHow
In this post about the bubble sort algorithm in Python, we want to look into how to implement and visualize it. Bubble sort isn’t quite an efficient algorithm when it comes to time complexity. However, it is easy to code and to understand, so it is often an introductory problem for computer science students and pupils.
In this article we want to take a look at the k-means algorithm. The k-means algorithm is used to determine clusters. It is often the first algorithm you will see in any machine learning introduction, as it is easy to understand. We will code the algorithm in Python and also visualize it.
In Python, the dictionary is one of the most powerful data structures you can use. There are many features and techniques concerning dictionaries that you may not have on your radar yet, but they will help you to simplify your code and gain more flexibility. This post will present you the 10 most important dictionary-tricks in Python!