##// END OF EJS Templates
Merge pull request #9912 from Carreau/newbanner...
Fernando Perez -
r22836:54cc9d25 merge
parent child Browse files
Show More
@@ -76,6 +76,20 b' improved functionality and flexibility.'
76 At your system command line, type 'ipython -h' to see the command line
76 At your system command line, type 'ipython -h' to see the command line
77 options available. This document only describes interactive features.
77 options available. This document only describes interactive features.
78
78
79 GETTING HELP
80 ------------
81
82 Within IPython you have various way to access help:
83
84 ? -> Introduction and overview of IPython's features (this screen).
85 object? -> Details about 'object'.
86 object?? -> More detailed, verbose information about 'object'.
87 %quickref -> Quick reference of all IPython specific syntax and magics.
88 help -> Access Python's own help system.
89
90 If you are in terminal IPython you can quit this screen by pressing `q`.
91
92
79 MAIN FEATURES
93 MAIN FEATURES
80 -------------
94 -------------
81
95
@@ -325,20 +339,9 b' The following magic functions are currently available:'
325
339
326 """
340 """
327
341
328 quick_guide = """\
342 default_banner_parts = ["Python %s\n"%sys.version.split("\n")[0],
329 ? -> Introduction and overview of IPython's features.
343 "Type 'copyright', 'credits' or 'license' for more information\n" ,
330 %quickref -> Quick reference.
344 "IPython {version} -- An enhanced Interactive Python. Type '?' for help.\n".format(version=release.version),
331 help -> Python's own help system.
332 object? -> Details about 'object', use 'object??' for extra details.
333 """
334
335 default_banner_parts = [
336 'Python %s\n' % (sys.version.split('\n')[0],),
337 'Type "copyright", "credits" or "license" for more information.\n\n',
338 'IPython {version} -- An enhanced Interactive Python.\n'.format(
339 version=release.version,
340 ),
341 quick_guide
342 ]
345 ]
343
346
344 default_banner = ''.join(default_banner_parts)
347 default_banner = ''.join(default_banner_parts)
General Comments 0
You need to be logged in to leave comments. Login now