Ignore:
Timestamp:
11/02/05 12:34:08 (19 years ago)
Author:
mar637
Message:

use welcome message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/share/ipythonrc-asap

    r688 r704  
    88# as comments. But comments can NOT be put on lines with data.
    99#***************************************************************************
    10 
    1110autocall 1
    1211
     
    259258# fails to load the others will still be ok.
    260259
    261 import_mod
     260import_mod sys
    262261
    263262#---------------------------------------------------------------------------
     
    305304
    306305# Example:
    307 # execute x = 1
    308 # execute print 'hello world'; y = z = 'a'
    309 # will produce internally
    310 # x = 1
    311 # print 'hello world'; y = z = 'a'
     306# banner 0 disables  sys.stdout
     307execute sys.stdout = sys.__stdout__
    312308# and each *line* (not each statement, we don't do python syntax parsing) is
    313309# executed in its own try/except block.
    314 
    315 execute
     310execute print welcome()
    316311
    317312# Note for the adventurous: you can use this to define your own names for the
Note: See TracChangeset for help on using the changeset viewer.