How could I see the amount of attributes and the list of variables within file1
within file2
. Is there a function or such that would allow me to see such a thing?
file1.py contents
value = 3
Random_numb = 6
lev = 8
file2.py contents
import file1
file2
s Expected output:
List of variables:
value
Random_numb
lev