##// END OF EJS Templates
ipy_leo: @ipy-startup
Ville M. Vainio -
Show More
@@ -267,8 +267,7 b' def leoref_f(self,s):'
267 267
268 268 for el in wb.foo:
269 269 print el.v
270
271
270
272 271 """
273 272 )
274 273 ip.expose_magic('leoref',leoref_f)
@@ -280,5 +279,13 b' def show_welcome():'
280 279 import IPython.platutils
281 280 IPython.platutils.set_term_title('Leo IPython')
282 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 290 show_welcome()
284
291
General Comments 0
You need to be logged in to leave comments. Login now