Open in app

Sign In

Write

Sign In

Timur Bakibayev
Timur Bakibayev

923 Followers

Home

About

Published in Geek Culture

·Pinned

Python OOP example: Car engine simulation for beginners

Strict Typing, DataClasses, Unit Tests, and everything else you need In this article, I would like to show an example of a well-structured and tested Python project. This can be useful for those who start programming and for those who switch from another language to Python. You will see why…

Python

7 min read

Python OOP example: Car engine simulation for beginners
Python OOP example: Car engine simulation for beginners
Python

7 min read


Published in Geek Culture

·Pinned

Do not use mutable objects as default arguments in Python

This Python peculiarity can lead to some unexpected behavior of your programs. — Say, you want a function that appends some data to a list. And if the list is not passed, then appends the same data to a newly created list. What would be the obvious and naive way to go? Sure, why not use default arguments here? …

Python

2 min read

Do not use mutable objects as default arguments in Python
Do not use mutable objects as default arguments in Python
Python

2 min read


Published in Geek Culture

·Pinned

How to Generate a QR Code in Django

Passing a QR code as an SVG code This tiny project will generate a QR code for any text and pass it to the HTML template as an SVG code. SVG is a very convenient medium for URLs or other text. This small demo demonstrates a few things: How to…

Qr Code

3 min read

How to Generate a QR Code in Django
How to Generate a QR Code in Django
Qr Code

3 min read


Published in Level Up Coding

·Pinned

Just One Index in Django Makes your App 15x faster!

How much faster is your app with indexes? — Even “Senior” developers often forget to use indexes in Django. You can’t imagine how faster it can get if you simply add two lines of code into your model! In this article we will take measurements together: with and without indexes. Setup Our patient will be a small Django application with…

Django

5 min read

Just one  Index in Django makes your App 15x faster!
Just one  Index in Django makes your App 15x faster!
Django

5 min read


Published in Level Up Coding

·Pinned

How to write Tetris in Python

Step by step guide to writing Tetris in Python with PyGame In this tutorial, we will write a simple Tetris using the PyGame library in Python. The algorithms inside are pretty simple but can be a little challenging for the beginners. We will not concentrate on PyGame mechanics too much…

Tetris

6 min read

How to write Tetris in Python
How to write Tetris in Python
Tetris

6 min read


Published in Level Up Coding

·3 days ago

Python: Class and Static Methods Explained

Bonus: from_json and to_json methods for your classes Introduction As a Python developer, you have likely come across classes and object-oriented programming. But when working with classes, you might have encountered classmethod and staticmethod. These two concepts can be confusing, especially for beginners. In this article, we will demystify class and…

Oop

4 min read

Python: Class and Static Methods Explained
Python: Class and Static Methods Explained
Oop

4 min read


Published in Geek Culture

·Mar 15

OOP: Secrets of Encapsulation: Unlocking the Power of Private and Protected

Why don’t we always use public? Introduction Object-oriented programming (OOP) has been a dominant programming paradigm for several decades now. One of its core principles is encapsulation, which is the bundling of data and methods that operate on that data within a single unit, typically a class. Encapsulation promotes the idea…

Object Oriented

3 min read

OOP: Secrets of Encapsulation: Unlocking the Power of Private and Protected
OOP: Secrets of Encapsulation: Unlocking the Power of Private and Protected
Object Oriented

3 min read


Published in Geek Culture

·Mar 7

ChatGPT 4 and Above

How will ChatGPT 4 and above be different from ChatGPT 3 Here is what I expect from the next generations of ChatGPT. ChatGPT 4 (boring) AI language models have come a long way since their inception, and with each iteration, they become more sophisticated and better at understanding human language. …

Chatgpt

3 min read

ChatGPT 4 and Above
ChatGPT 4 and Above
Chatgpt

3 min read


Published in Geek Culture

·Feb 23

Microservices for Dummies in Python

What and why are microservices The purpose of this article is to provide a clear understanding of microservices and how they differ from monolithic applications. Using a straightforward example, we will illustrate the fundamental principles of microservices, and towards the end of the article, we will delve into more complex…

Microservices

9 min read

Microservices for Dummies in Python
Microservices for Dummies in Python
Microservices

9 min read


Published in Geek Culture

·Jan 24

PyTest: How to build 100 unit tests with one function in Python

Parametrized tests in Python with PyTest Pytest is a powerful and feature-rich testing framework for Python. One of its most powerful features is its ability to easily build complex test suites by reusing test functions. …

Python

3 min read

PyTest: How to build 100 unit tests with one function in Python
PyTest: How to build 100 unit tests with one function in Python
Python

3 min read

Timur Bakibayev

Timur Bakibayev

923 Followers

Professor, Ph.D. in CS, Data Science Academy Kazakhstan

Following
  • Dino Cajic

    Dino Cajic

  • Robert Ralph

    Robert Ralph

  • Tony

    Tony

  • Josef Cruz

    Josef Cruz

  • Ishaan Gupta

    Ishaan Gupta

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech