Show More
@@ -267,8 +267,7 b' def leoref_f(self,s):' | |||||
267 |
|
267 | |||
268 | for el in wb.foo: |
|
268 | for el in wb.foo: | |
269 | print el.v |
|
269 | print el.v | |
270 |
|
270 | |||
271 |
|
||||
272 | """ |
|
271 | """ | |
273 | ) |
|
272 | ) | |
274 | ip.expose_magic('leoref',leoref_f) |
|
273 | ip.expose_magic('leoref',leoref_f) | |
@@ -280,5 +279,13 b' def show_welcome():' | |||||
280 | import IPython.platutils |
|
279 | import IPython.platutils | |
281 | IPython.platutils.set_term_title('Leo IPython') |
|
280 | IPython.platutils.set_term_title('Leo IPython') | |
282 | IPython.platutils.freeze_term_title() |
|
281 | IPython.platutils.freeze_term_title() | |
|
282 | ||||
|
283 | def run_leo_startup_node(): | |||
|
284 | p = g.findNodeAnywhere(c,'@ipy-startup') | |||
|
285 | if p: | |||
|
286 | print "Running @ipy-startup" | |||
|
287 | push_script(p) | |||
|
288 | ||||
|
289 | run_leo_startup_node() | |||
283 | show_welcome() |
|
290 | show_welcome() | |
284 |
|
291 |
General Comments 0
You need to be logged in to leave comments.
Login now