title: Watchdog on windows with python3.4
body: <p>I am trying to learn to use watchdog utility on windows.</p>
  
  <p>I have gone through basic examples available on google.
  I am trying to write a script which will monitor a given directory and then will send mail if any sub-directory is created which has a file named version.</p>
  
  <pre><code>import time
  from watchdog.observers import Observer
  from watchdog.events import DirCreatedEvent
  import re
  import smtplib
  
  
  
  
  class MyHandler(DirCreatedEvent):
  
      def process(self,event):
  
  
          fileTocheck = "Version"
  
          with open(event.src_path+"\\"+fileTocheck) as version:
              chngstring = version.read()
              changeNumber = re.findall(r"\D(\d{5})\D",chngstring)
              if not changeNumber:
                  return
  
  
          server = smtplib.SMTP('smtp.gmail.com',587)
          server.login("xyz@gmail.com","abc@123")
          message = "New Build has been create with Chnage Number %d"  %int(changeNumber[0])
          server.sendmail("xyz@gmail.com","abc@gmail.com",message)
  
      def on_created(self,event):
          self.process(event)
  
  
  
  if __name__ == '__main__':
      observer = Observer()
      path = "D:\\"
      observer.schedule(MyHandler(),path,recursive=True)
      observer.start()
  
      try:
          while True:
              time.sleep(1)
      except KeyboardInterrupt:
          observer.stop()
  
      observer.join()
  </code></pre>
  
  <p>The problem is that whenever I am running the script I am getting this error:</p>
  
  <pre><code>&gt;&gt;&gt; ================================ RESTART   ================================
  &gt;&gt;&gt; 
  Traceback (most recent call last):
  File "C:/Users/Prince/Desktop/KeepLearing/Watchdog.py", line 37, in &lt;module&gt;
  observer.schedule(MyHandler(),path,path,recursive=True)
  TypeError: __init__() missing 1 required positional argument: 'src_path'
  </code></pre>
  
  <p>I am providing proper path while envoking observer.schedule, I don't understand why I am getting this.</p>
  
  <p>Please help me find out what I am missing.</p>