title: How can I open an .mp4 video through quicktime player?
body: <pre><code>import time
  class Video(object):
      def __init__(self,path):
          self.path = "C:/Program Files (x86)/QuickTime/QuickTimePlayer.exe"
  
      def play(self):
          from os import startfile
          startfile(self.path)
  
  class Movie_MP4(Video):
      type = "MP4"
  
  movie = Movie_MP4(r"C:\Users\A\1.mp4")
  movie.play()
  </code></pre>
  
  <p>I am able to play windows media player file using this code if I change "C:/Program Files (x86)/QuickTime/QuickTimePlayer.exe" to path.</p>
  
  <p>How can I get quicktime to play my video?</p>