title: posting on wordpress using python
body: <p>It is my first attempt of any internet application. I am trying to post on my blog from a text document in my PC using python. My code is here</p>
  
  <pre><code>f = open('proofs.txt') 
  data = f.readline()
  print data
  import wordpresslib
  url = 'http://www.agnsa.wordpress.com/xmlrpc.php'
  wp = wordpresslib.WordPressClient(url,'agnsa','pan@13579')
  wp.selectBlog(0)
  post = wordpresslib.WordPressPost()
  post.title = 'try'
  post.description = data
  idPost = wp.newPost(post,True)
  </code></pre>
  
  <p>After running the module it is giving the error that connection failed to server. Here is the response. I tried to find about it but i couldnt understand how i can solve it. I never develop any such application before. It is simple but i cant understand what to do now.... Can any one give me suggestion what to do ??</p>
  
  <p>Error is :</p>
  
  <pre><code>[Errno 10060] A connection attempt failed because the connected party did
  not properly respond after a period of time, or established connection failed
  because connected host has failed to respond
  </code></pre>