EVA
Dec. 23, 2023, 3:31 p.m.

PythonStep 1: Setting Up Your Environment for Python Programming

IDE, python, PyCharm

Setting up your development environment is the crucial first step on your journey to becoming a proficient Python programmer. In this article, we'll guide you through the process of configuring your system to work with Python, from installing the Python …

Read
EVA
Dec. 22, 2023, 4:57 p.m.

PythonExploring the Versatility of Python: A Beginner's Guide to a Powerful Language

introduction, python

In the vast landscape of programming languages, Python stands out as a versatile, user-friendly, and powerful tool that has captured the hearts of developers, data scientists, educators, and professionals across diverse industries. Its simplicity, readability, and broad applicability make it …

Read
Evgenii Legotckoi
March 31, 2023, 4:32 p.m.

DjangoDjango - Lesson 063. Full text site search for multiple models with multilingual support

Django, python, Django 3, modeltranslation, full-text search, Django 4

Finally, I managed to make a fairly fast full-text search across several models, taking into account the optimization of requests on the site, which would suit me and meet my requirements for the quality of the project.

If you now …

Read
Evgenii Legotckoi
March 19, 2023, 8:56 p.m.

DjangoDjango - Tutorial 061. Adding a Unique View Count

Django, Counter, Django 3, python, Django 4

At the very beginning of creating articles and questions on the forum, I added a simple counter of views on this content.
This counter was an ordinary field of integer type and each time a page was requested it was …

Read
Evgenii Legotckoi
June 1, 2022, 2:30 p.m.

DjangoDjango - Lesson 059. Saving the selected language in user settings

python, language, django, translation

In this article, I would like to show an example of how you can make a link on the site so that the user can switch between languages on the site.

But I will show a more advanced version of …

Read
Evgenii Legotckoi
Feb. 8, 2022, 5:55 p.m.

DjangoDjango - Tutorial 055. How to write auto populate field functionality

field, Django, python, auto, Python

For a long time I wanted to write an article on how to write auto populate field functionality for a Django project. This is a very useful feature that allows you to change the content of other model fields in …

Read
---
Oct. 5, 2020, 6:11 p.m.

Python5 Ways to Remove Unnecessary Characters from a String in Python

python

Remove specific characters from the string


Let's use ' str.replace '

With the help of * str.replace *, we can change some characters to others. If we just want to remove some characters, then we simply replace them with an …

Read
Evgenii Legotckoi
May 13, 2020, 3:42 p.m.

PythonPython Image Recognition with TensorFlow and Keras

Keras, python, RuCaptcha, TensorFlow

Introduction

One of the most common uses of TensorFlow and Keras is in image recognition and classification. If you would like to learn how to use Keras for image classification or recognition, this article will teach you how to do …

Read
Said Py
May 6, 2020, 1:37 p.m.

PythonHow to Hide Firefox [selenium] in python

selenium, python

In this tutorial, we’ll learn how to Hide selenium firefox in python.


Code:

  1. #headless option
  2. options.headless = True

Example:

  1. from selenium import webdriver
  2. from selenium.webdriver.common.keys import Keys
  3. from selenium.webdriver.firefox.options import Options
  4.  
  5. options = Options()
  6. options.headless = True
  7. driver = webdriver.Firefox(executable_path='/path/to/geckodriver',
Read
Evgenii Legotckoi
May 5, 2020, 12:21 a.m.

DjangoDjango - Tutorial 053. Adding Counters to Models in the Django Admin Panel

admin, Django, python

The other day, I started working on a content moderation application on the site and solved the problem of adding counters in the administrative panel.

It looks like this now

The task itself is trivial, but as it turned out …

Read
  • Last comments
  • AK
    April 1, 2025, 11:41 a.m.
    Добрый день. В данный момент работаю над проектом, где необходимо выводить звук из программы в определенное аудиоустройство (колонки, наушники, виртуальный кабель и т.д). Пишу на Qt5.12.12 поско…
  • Evgenii Legotckoi
    March 9, 2025, 9:02 p.m.
    К сожалению, я этого подсказать не могу, поскольку у меня нет необходимости в обходе блокировок и т.д. Поэтому я и не задавался решением этой проблемы. Ну выглядит так, что вам действитель…
  • VP
    March 9, 2025, 4:14 p.m.
    Здравствуйте! Я устанавливал Qt6 из исходников а также Qt Creator по отдельности. Все компоненты, связанные с разработкой для Android, установлены. Кроме одного... Когда пытаюсь скомпилиров…
  • ИМ
    Nov. 22, 2024, 9:51 p.m.
    Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
  • Evgenii Legotckoi
    Oct. 31, 2024, 11:37 p.m.
    Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup