title: Running paraview python through commandline
body: <p>Is there any way to run a python script of paraview using command line.
  right now I can open the file in "python shell" in paraview and get results. I am not able to figure out away to run it through commandline. Can you please tell me the syntax of running it.</p>
  
  <pre><code>import os
  i=0
  SubDir = [" "]*30
  # Set the directory you want to start from
  rootDir = '/var/www/html/php/emd/job552e23fe74d102/VTK'
  for dirName, subdirList, fileList in os.walk(rootDir):
      if dirName == rootDir + '/others':
         continue
      if dirName == rootDir:
         continue
      SubDir.append(dirName)
      i=i+1
      print('Found directory: %s' % dirName)
      for fname in fileList:
          print('\t%s' % fname)
          j=1
          j= LegacyVTKReader( FileNames=[dirName + '/' + fname] )
  </code></pre>
  
  <p>This my code</p>