I tried the code and it worked perfectly!
Love it! I also read it a few times and now I get how it works: now I have to check how the library "argparse" works because I may also use it in my code, so I'd like to better understand it :) it looks very straightforward, but I'd like to check what "nargs='?" exactly does.
EDIT: found it!
RE: Python Wizardry: Fetching Liquidity Pools from Hive Engine with a Simple Script