print(f"{12345678:<017d}") # дополнить нулями недостающие позиции, всего позиций 17
~$ python3
Python 3.8.10 (default, Jun 2 2021, 10:49:15)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> print(f"{12345678:<017d}")
12345678000000000
>>>
Before using the TG V3 firmware 91.2.0.4 to upgrade, please make sure your TG gateway’s firmware version is 91.X.X.X or its SN starts with 331; using this firmware on a non-V3 gateway will result in system crash.
man mysqldump
--where='where_condition', -w 'where_condition'
Dump only rows selected by the given WHERE condition.
Quotes around the condition are mandatory if it contains spaces or other characters that are special to your command interpreter.
WHERE
подставил SELECT
mysqldump -u root database table \
--where "article='263203A001' or article='OP570' or article='OC90'" \
> dump.sql