Channel address:
Categories:
Technologies
Language: English
Subscribers:
155
Description from channel
The best channel for those who want to learn Python and programming.
Contacts: @iv_andrew
Youtube channel: https://www.youtube.com/channel/UCeC9LNDwRP9OfjyOFHaSikA
Ratings & Reviews
Reviews can be left only by registered users. All reviews are moderated by admins.
5 stars
0
4 stars
0
3 stars
2
2 stars
0
1 stars
0
The latest Messages 3
2021-09-01 06:35:04
DJANGO ORM QUERY OPTIMIZATION
11 views03:35
2021-08-23 18:01:58
Dependencies
One of the most terrible parts of the code is dependencies. The worst thing is that the problems will start not now, but in the future. For example, you are using telebot library in your project. Everything is working now, however, new solutions are coming out, the API is changing and any improvements take their place. The problem is that almost all the code is tied to telebot. If you want to change the library, then 80% of the code will be affected.
In this case, I'm writing wrapper classes. For example, instead of telebot.send_message(), I will use my own class TelegramBot.send_message(). If I need to change the library, I will do it only inside of TelegramBot. Of course, you can't remove all the dependencies in your code, but it's definitely worth a try.
29 views15:01
2021-08-23 17:56:26
ASYNCIO CALLBACKS
25 views14:56
2021-08-16 10:26:07
I don't trust JavaScript programmers. Too much promises
32 views07:26
2021-08-14 16:34:27
THE REAL C SHADY
32 views13:34
2021-08-05 10:49:56
REDIS INTRODUCTION
44 views07:49
2021-08-04 09:10:57
crontab
What if you need to run some scripts on a specific time? For example, you want to write statistics of your system to a file every day at 12 o'clock in the afternoon. Then you need to use the crontab service. There you can write a crontab expression and a script to run. The syntax of expressions is not that simple, for instance: 0 10 * * *. This expression means at 10:00 every day. However, in order not to break your head and be able to write a crontab expression correctly and without problems, there is a website https://crontab.guru/, where you can write a crontab expression and look at their human-readable representation.
31 views06:10