mss.mss()
- обязательно ли каждую итерацию захватывать экран заново?time.sleep(0.05) # Проверяем цвет каждые 100 мс
- что то не клеится в Ваших показаниях, на основание чего указано 50мс?start_time
заведомо "меньше", чем server_time
, а вы вычитаете из меньшего большее, то и возникает разница в -1 день. abs
при подсчёте дельты:from datetime import datetime, timezone
start_time = datetime(2025, 1, 27, 23, 59, 59, tzinfo=timezone.utc)
server_time = datetime(2025, 1, 28, 0, 0, 0, tzinfo=timezone.utc)
delta = start_time - server_time
print("Дельта:", delta)
>>> Дельта: -1 day, 23:59:59
abs_delta = abs(start_time - server_time)
print("Дельта:", abs_delta)
>>> Дельта: 0:00:01
Как создать телеграм бот с exe файла?
Как написать телеграм бот, используя C#?
It's NOT Google who notifies you when your Android device has less than 500MB free storage space, but Android OS.:)
The Android >=500MB free storage space rule is because of 'operating capital' - it needs space to store temporary files as you use apps, it needs space to download updates to and space to store the uncompressed update files prior to installing them ( it should delete the compressed and uncompressed update files automatically after install ), etc.pp.
If Android's storage memory is 32GB ( 32,768MB ) then 500MB correspond to ~2%, if it's 16GB ( 16,384MB ) then it corresponds to ~3%. IMO ridiculously low shares. Take note that Windows & Mac computers have the at minimum 10% free space rule.
In answer to your actual question: I don't believe there's a way around this restriction.
Можно ли создать свою (кастомную) форму, где пользователь будет вводить данные банковской карты и оплачивать заказ. То есть без использования форм оплаты интеграторов ecommerce и прочее.