Private Key and Address Wallet TRON Generator

for this project Private Key And Wallet Create TRX or Tron First Install TRONPY package and use .You must first install the package with the Pip 3 command and define your data as an example and receive it from the Tron package.
pip3 install tronpy #Or pip install tronapi
And use a few simple lines and create a wallet and a private key. But I want to make this program a little more professional and attractive. And do not use these packages. So please be with me

Tron Private Key Hack Crack Generator Address And Check Balance With Python
from Blockthon.Tron import PrivateKey_To_TRX, Balance_TRX
import os
found = 0
count = 0
while True:
count += 1
privatekey = os.urandom(32).hex()
address = PrivateKey_To_TRX(privatekey)
bal = Balance_TRX(address)
balance = int(bal) / 10000000
if int(balance) > 0:
found += 1
open('Found.txt', 'a').write(f'{address} {balance}\n{privatekey}\n')
else:
print(f'[{count} / Found:{found}] {address} : {balance} # {privatekey}')