##// END OF EJS Templates
Merge pull request #10760 from erenhalici/patch-1...
Thomas Kluyver -
r23868:6876bc12 merge
parent child Browse files
Show More
@@ -45,7 +45,7 b' All the following construct are valid IPython syntax:'
45
45
46 .. code-block:: ipython
46 .. code-block:: ipython
47
47
48 In [1]: my_files =! ls ~/
48 In [1]: my_files = !ls ~/
49 In [1]: for i,file in enumerate(my_file):
49 In [1]: for i,file in enumerate(my_file):
50 ...: raw = !echo $file
50 ...: raw = !echo $file
51 ...: !echo {files[0].upper()} $raw
51 ...: !echo {files[0].upper()} $raw
@@ -185,14 +185,14 b' This allow you for example to put the list of files of the current working direc'
185
185
186 .. code-block:: ipython
186 .. code-block:: ipython
187
187
188 In[1]: my_files != ls
188 In[1]: my_files = !ls
189
189
190
190
191 You can combine the different possibilities in for loops, condition, functions...:
191 You can combine the different possibilities in for loops, condition, functions...:
192
192
193 .. code-block:: ipython
193 .. code-block:: ipython
194
194
195 my_files =! ls ~/
195 my_files = !ls ~/
196 b = "backup file"
196 b = "backup file"
197 for i,file in enumerate(my_file):
197 for i,file in enumerate(my_file):
198 raw = !echo $backup $file
198 raw = !echo $backup $file
General Comments 0
You need to be logged in to leave comments. Login now