On Fri, Oct 12, 2012 at 3:24 AM, <wxjmfa...@gmail.com> wrote: > Le jeudi 11 octobre 2012 15:16:33 UTC+2, Ramchandra Apte a écrit : > > PS C:\> $cmd="import sys;" > PS C:\> $cmd+="print('\n'.join(sys.path))" > PS C:\> $cmd > import sys;print('\n'.join(sys.path)) > PS C:\> c:\python32\python -c $cmd > > C:\Windows\system32\python32.zip > c:\python32\DLLs > c:\python32\lib > c:\python32 > c:\python32\lib\site-packages > PS C:\> > > Can probably be in a .cmd file.
That doesn't actually make a multi-line argument though. It just dodges the issue by avoiding the for loop :) ChrisA -- http://mail.python.org/mailman/listinfo/python-list