helpful_scripts.py
We can store getaccounts() is a seperate file called helpful_scripts.py and import it in.
create an empty file, __init__.py in the scripts folder.
this is mark it as containing package modules for import
create helpfulscripts.py in the same directory and input getaccounts()
import via:
from scripts.helpful_scripts import get_accounts
Last updated