##// END OF EJS Templates
[doc] minor edits
Min RK -
Show More
@@ -32,14 +32,14 b' tutorial but should usually not impact the computation.'
32
32
33 You should be able to type single line expressions and press enter to evaluate
33 You should be able to type single line expressions and press enter to evaluate
34 them. If an expression is incomplete, IPython will automatically detect this and
34 them. If an expression is incomplete, IPython will automatically detect this and
35 add a new line when you press ``Enter`` instead of evaluating.
35 add a new line when you press ``Enter`` instead of executing right away.
36
36
37 Feel free to explore multi-line text edition. Unlike many other REPL with
37 Feel free to explore multi-line text input. Unlike many other REPLs, with
38 IPython you can use the up and down arrow keys when editing multi-line
38 IPython you can use the up and down arrow keys when editing multi-line
39 code blocks.
39 code blocks.
40
40
41 Here is an example of a longer interaction with the IPython REPL we often refer
41 Here is an example of a longer interaction with the IPython REPL,
42 to as an IPython _session_ ::
42 which we often refer to as an IPython _session_ ::
43
43
44 In [1]: print('Hello IPython')
44 In [1]: print('Hello IPython')
45 Hello IPython
45 Hello IPython
@@ -51,10 +51,8 b' to as an IPython _session_ ::'
51 ...: print('Hello {name}'.format(name=name))
51 ...: print('Hello {name}'.format(name=name))
52 ...:
52 ...:
53
53
54 We won't get into details right now, but unlike the standard python REPL you
54 We won't get into details right now, but you may notice a few differences to the standard Python REPL.
55 will notice a few difference. First your code should be syntax-highlighted as
55 First, your code should be syntax-highlighted as you type.
56 you type.
57
58 Second, you will see that some results will have an ``Out[N]:`` prompt, while
56 Second, you will see that some results will have an ``Out[N]:`` prompt, while
59 some other do not. We'll come to this later.
57 some other do not. We'll come to this later.
60
58
General Comments 0
You need to be logged in to leave comments. Login now