title: error while uploading file to IBM cloud object storage using python
body: <p>While running code in IDLE , it shows nothing.</p>
  
  <pre><code>from ibm_botocore.client import Config
  
  import ibm_boto3
  
  def upload_file(credentials,local_file_name,key):  
      cos = ibm_boto3.client(service_name='s3',
                 ibm_api_key_id=credentials['got from service credential desciption'],
  
                 ibm_service_instance_id=credentials['got from service credential description'],
  
                 ibm_auth_endpoint=credentials['s3.eu-gb.cloud-object-storage.appdomain.cloud'],//as my region is London
  
                 config=Config(signature_version='oauth'),
  
                 endpoint_url=credentials['https://control.cloud-object-storage.cloud.ibm.com/v2/endpoints'])
  
      try:
          res=cos.upload_file(Filename='D:\ibm-cloud\get-started-python\abc.txt', Bucket=credentials['cloud-college-bucket0'],Key=key)
      except Exception as e:
          print(Exception, e)
      else:
          print('File Uploaded')
  </code></pre>