On Jan 30, 2012, at 8:27 AM, Jonathan Lundell wrote: > On Jan 30, 2012, at 8:05 AM, Massimo Di Pierro wrote: > >> what does append('--') do? > > It tells the command (python in this case) to stop processing command-line > options for itself.
man bash: -- A -- signals the end of options and disables further option processing. Any arguments after the -- are treated as filenames and arguments. An argument of - is equivalent to --.