Algorand dispenser with python

Hi, can i add ALGO in my account directly with python without having to use the Algorand Testnet Dispenser? I would like to automate my program.

Thanks.

Best solution is to withdraw some Algos from the dispenser to an account your Python program knows the private key for (or use kmd).

If you need to do a lot of testing creating new apps, I would recommend using sandbox to create a private network. There you can get as many Algos as you want.
TestNet dispenser is very restricted to prevent abuse: if too many people abuse it, then we may need to reset TestNet which is something nobody wants…