Changeset 704 for trunk/share/ipythonrc-asap
- Timestamp:
- 11/02/05 12:34:08 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/share/ipythonrc-asap
r688 r704 8 8 # as comments. But comments can NOT be put on lines with data. 9 9 #*************************************************************************** 10 11 10 autocall 1 12 11 … … 259 258 # fails to load the others will still be ok. 260 259 261 import_mod 260 import_mod sys 262 261 263 262 #--------------------------------------------------------------------------- … … 305 304 306 305 # 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 307 execute sys.stdout = sys.__stdout__ 312 308 # and each *line* (not each statement, we don't do python syntax parsing) is 313 309 # executed in its own try/except block. 314 315 execute 310 execute print welcome() 316 311 317 312 # 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.