import pywikibot

site = pywikibot.Site('en', 'wikipedia')
page = pywikibot.Page(site, 'Gauri Lankesh')

page.text = 'Gauri Lankesh was a journalist from Bangalore, India.'
page.save()
Sleeping for 8.6 seconds, 2017-09-07 05:33:50
Page [[en:Gauri Lankesh]] saved