Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

print all variables jupyter notebook

dir() #will give you the list of in scope variables:
globals() #will give you a dictionary of global variables
locals() #will give you a dictionary of local variables
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #variables #jupyter #notebook
ADD COMMENT
Topic
Name
8+5 =