• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Code Specialist

Code Specialist

Code and Programming Blog

  • Home
  • Clean Code
  • Code Principles
  • Code Interview
  • Python

Python

Home » Python

February 23, 2021

Decorators in Python
5 (1)

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!

Category iconCode Principles,  Learn to Code,  Python,  Write Better Code Tag icondecorators,  Pythonic

February 12, 2021

New Syntax Features in Python 3.9
5 (3)

In October 2020, Python 3.9 introduced amazing new syntax features. As of now, you can use the new operators for dictionaries, better type hints and the advanced syntax for decorators. Read more about them in this post!

Category iconPython Tag icondecorators,  dictionaries,  Syntax,  type hints

February 6, 2021

5 Ways to Speed Up Python Code
4.3 (6)

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, […]

Category iconPython Tag iconVideo

February 2, 2021

Bubble Sort in Python and how to Visualize it
5 (4)

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.

Category iconAlgorithms,  Python,  Technical Background Tag iconCode Interview Question

January 31, 2021

Reverse words in a string
4.8 (4)

The problem of reversing the order of words in a string was one of the most popular code interview questions of 2020. We want to solve the problem here ad present and exemplary solution.

Category iconCode Interview,  Python Tag iconCode Interview Question,  Data Structures

January 31, 2021

Visualize K Means Algorithm in Python
5 (2)

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.

Category iconAlgorithms,  Learn to Code,  Python

books and dictionaries containing tricks

December 8, 2020

Dictionary-Tricks in Python
5 (3)

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!

Category iconPython,  Write Better Code Tag icondictionaries,  Pythonic,  Tricks

December 1, 2020

Midpoint Line Algorithm
4.9 (7)

The midpoint line algorithm is a drawing algorithm in the field of computer graphics. It is used to determine how lines are translated into pixels.

Category iconAlgorithms,  Python Tag iconComputer Graphics

colored easter eggs in green grass

October 28, 2020

7 Python Easter Eggs
4.8 (5)

Python is an exciting language and has always some surprises in store, no matter how long you have been working with it. In this Post, I will present 7 really cool easter eggs in Python. Feel free to try them out on your own, I hope you enjoy it!

Category iconPython Tag iconCode,  Easter Eggs,  funny,  Nice to know

  • Go to page 1
  • Go to page 2
  • Go to Next Page »

Primary Sidebar

Search

Categories

  • Algorithms
  • Code Interview
  • Code Principles
  • Environment
  • Errors
  • Learn to Code
  • Object Orientation
  • Python
  • Technical Background
  • Write Better Code

Tags

Alternative (1) Announcement (1) Clean Code (6) Code (1) Code Interview Question (2) Code Philosophy (1) Comments (1) Computer Graphics (2) Concurrency (1) Control Characters (1) Data Structures (1) decorators (2) dictionaries (3) Easter Eggs (1) funny (1) Github Actions (1) Marching Cubes (1) Meshing (1) Nice to know (1) Parallelisation (1) Pythonic (3) PyYAML (1) Readability (4) Simple is good (2) Software Engineering (2) switch (1) Syntax (1) Tricks (1) type hints (1) Ubuntu 20.04 (1) Underscores (1) Unix (1) Video (1) Virtualization with Windows (1)

Footer

Recent Posts

  • Decorators in Python
  • New Syntax Features in Python 3.9
  • 5 Ways to Speed Up Python Code
  • Bubble Sort in Python and how to Visualize it
  • Reverse words in a string

Tags

Alternative Announcement Clean Code Code Code Interview Question Code Philosophy Comments Computer Graphics Concurrency Control Characters Data Structures decorators dictionaries Easter Eggs funny Github Actions Marching Cubes Meshing Nice to know Parallelisation Pythonic PyYAML Readability Simple is good Software Engineering switch Syntax Tricks type hints Ubuntu 20.04 Underscores Unix Video Virtualization with Windows

Categories

  • Algorithms
  • Code Interview
  • Code Principles
  • Environment
  • Errors
  • Learn to Code
  • Object Orientation
  • Python
  • Technical Background
  • Write Better Code

Recent Comments

  • Nina on Bubble Sort in Python and how to Visualize it
  • Bhan on Concurrency in Python

Follow Us

  • Facebook
  • Instagram
  • Pinterest
  • Twitter

Quicklinks

  • About us
  • Become a writer

Privacy Policy | Legal Notice | Contact

 

All rights reserved © 2020-2021 code-specialist.com