Answers for "print all variables jupyter notebook"

0

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
Posted by: Guest on September-28-2021
0

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
Posted by: Guest on September-28-2021

Code answers related to "print all variables jupyter notebook"

Python Answers by Framework

Browse Popular Code Answers by Language