🇺🇦 Python Programming Сhallenges
1.04K subscribers
3 photos
2 files
63 links
Размышления на тему решения различных задач по спортивному программированию на Python и не только.
加入频道
Forwarded from oleg_log (Oleg Kovalov)
Был бы я более питонистом, сразу бы пошел собирать из сорцов, но нет.

Вообще фигня клевая, по шагам проходишь с чекаута до рантайм штуковин, прям бери Python и фикси под свои нужды.

https://realpython.com/cpython-source-code-guide/#what-does-a-compiler-do
Found very intersting approach to count the digits of an integers #python:

from math import floor, log10


def count_digits(n):
return 1 + floor(log10(n))

In [2]: count_digits(5)
Out[2]: 1

In [3]: count_digits(999)
Out[3]: 3

In [4]: count_digits(1000)
Out[4]: 4
Scalene: a high-performance CPU, GPU and memory profiler for Python

https://github.com/plasma-umass/scalene
Channel name was changed to «🇺🇦 Python Programming Сhallenges»
Today, around 15:25 GMT +2, I’ll present my talk at
@pyconit
about debugging Python applications inside the docker and k8s cluster. You can watch it online using the stream link https://2024.pycon.it/en/streaming or attend (Room Lasagna).

#pycon #pyconit #k8s