Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get variable name python


# Equalize your varaible name to dict()
VariableName =dict()

# split as follow
print(f'{VariableName=}'.split('=')[0])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #variable #python
ADD COMMENT
Topic
Name
3+2 =