Skip to content

posting from python!!

just simple posting from python

import wordpresslib
url = 'http://mohamadatef.wordpress.com/xmlrpc.php'
wp = wordpresslib.WordPressClient(url, 'mohamadatef', 'PAssWord')
wp.selectBlog(0)
post = wordpresslib.WordPressPost()
post.title = 'posting from python!!'
post.description = 'just simple posting from python'
idPost = wp.newPost(post, True)