title: how to call a method and make it run in background in python 3.4?
body: <p>I have implemented the Google Cloud Messaging server in python and I want that method to be Asynchronous. I do not expect any return values from that method. Is there a simple way to do this?
  I have tried using <code>async</code> from <code>asyncio</code> package:</p>
  
  <pre><code>...
  loop = asyncio.get_event_loop()
   if(module_status=="Fail"):
        loop.run_until_complete(sendNotification(module_name, module_status))
  ... 
  </code></pre>
  
  <p>and here is my method <code>sendNotification()</code>:</p>
  
  <pre><code>async def sendNotification(module_name, module_status):
      gcm = GCM("API_Key")
      data ={"message":module_status, "moduleName":module_name}
      reg_ids = ["device_tokens"]
      response = gcm.json_request(registration_ids=reg_ids, data=data)
      print("GCM notification sent!")
  </code></pre>