Show More
@@ -227,7 +227,7 b' IPython object:' | |||
|
227 | 227 | def lmagic(self, line): |
|
228 | 228 | "my line magic" |
|
229 | 229 | print "Full access to the main IPython object:", self.shell |
|
230 | print "Variables in the user namespace:", self.user_ns.keys() | |
|
230 | print "Variables in the user namespace:", self.shell.user_ns.keys() | |
|
231 | 231 | return line |
|
232 | 232 | |
|
233 | 233 | @cell_magic |
General Comments 0
You need to be logged in to leave comments.
Login now