##// END OF EJS Templates
Minor edits and updates.
Brian E. Granger -
Show More
@@ -3,7 +3,7 b''
3
3
4 Please see the documentation in the IPython.Shell module for more details.
4 Please see the documentation in the IPython.Shell module for more details.
5
5
6 The accompanying file example-embed-short.py has quick code fragments for
6 The accompanying file embed_class_short.py has quick code fragments for
7 embedding which you can cut and paste in your code once you understand how
7 embedding which you can cut and paste in your code once you understand how
8 things work.
8 things work.
9
9
@@ -133,5 +133,3 b' print(\'\\nMain program calling bar("spam")\\n\')'
133 bar('spam')
133 bar('spam')
134
134
135 print('Main program finished. Bye!')
135 print('Main program finished. Bye!')
136
137 #********************** End of file <example-embed.py> ***********************
@@ -1,6 +1,6 b''
1 """Quick code snippets for embedding IPython into other programs.
1 """Quick code snippets for embedding IPython into other programs.
2
2
3 See example-embed.py for full details, this file has the bare minimum code for
3 See embed_class_long.py for full details, this file has the bare minimum code for
4 cut and paste use once you understand how to use the system."""
4 cut and paste use once you understand how to use the system."""
5
5
6 #---------------------------------------------------------------------------
6 #---------------------------------------------------------------------------
@@ -43,5 +43,3 b' else:'
43 # Define a dummy ipshell() so the same code doesn't crash inside an
43 # Define a dummy ipshell() so the same code doesn't crash inside an
44 # interactive IPython
44 # interactive IPython
45 def ipshell(): pass
45 def ipshell(): pass
46
47 #******************* End of file <example-embed-short.py> ********************
@@ -1,5 +1,4 b''
1 # This shows how to use the new top-level embed function. It is a simpler
1 """Embed IPython using the simple embed function rather than the class API."""
2 # API that manages the creation of the embedded shell.
3
2
4 from IPython import embed
3 from IPython import embed
5
4
General Comments 0
You need to be logged in to leave comments. Login now