title: Python2 setting time error
body: <p>I write a function which sets system time  in linux. I write next code:</p>
  
  <pre><code>import time
  import subprocess
  
  def SetSystemTime(val):        
      try:
          val = float(val)
      except ValueError:
          return
      command = 'date -s"' + time.ctime(val) + '"'
      subprocess.call(command)
  </code></pre>
  
  <p>On calling of that i get:</p>
  
  <blockquote>
    <p>File "crc.py", line 96, in 
        SetSystemTime(0)
      File "crc.py", line 12, in SetSystemTime
        subprocess.call(command)
      File "/usr/lib/python2.7/subprocess.py", line 493, in call
        return Popen(*popenargs, **kwargs).wait()
      File "/usr/lib/python2.7/subprocess.py", line 679, in <strong>init</strong>
        errread, errwrite)
      File "/usr/lib/python2.7/subprocess.py", line 1239, in _execute_child
        raise child_exception
    OSError: [Errno 2] No such file or directory</p>
  </blockquote>