Data Book - IPython Flashcards
1
Q
How do you reset the namespace?
A
%reset
2
Q
How do you enable magic functions without the % sign?
A
%automagic
3
Q
How do you use magic for the interactive debugger?
A
%debug
4
Q
How do you run a script inside a jupyter notebook?
A
%run (script.py)
5
Q
How do you display all variables in a namespace?
A
%who, %who_ls, %whos
Varying levels of info
6
Q
How do you change jupyter directories?
How do you print the working dir?
A
%cd directory
%pwd