##// END OF EJS Templates
Backport PR #10760: Small fix: Bang should be after the assignment operator
Thomas Kluyver -
Show More
@@ -45,7 +45,7 b' All the following construct are valid IPython syntax:'
45 45
46 46 .. code-block:: ipython
47 47
48 In [1]: my_files =! ls ~/
48 In [1]: my_files = !ls ~/
49 49 In [1]: for i,file in enumerate(my_file):
50 50 ...: raw = !echo $file
51 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 186 .. code-block:: ipython
187 187
188 In[1]: my_files != ls
188 In[1]: my_files = !ls
189 189
190 190
191 191 You can combine the different possibilities in for loops, condition, functions...:
192 192
193 193 .. code-block:: ipython
194 194
195 my_files =! ls ~/
195 my_files = !ls ~/
196 196 b = "backup file"
197 197 for i,file in enumerate(my_file):
198 198 raw = !echo $backup $file
General Comments 0
You need to be logged in to leave comments. Login now