import pywikibot
site = pywikibot.Site('ru', 'wikipedia')
page = pywikibot.Page(site, 'User_talk:SamGoldBot')

page.text = add_text.page('User talk:SamGoldBot')

page.save(u"PAWS")
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-95-d36a3b5d7ca5> in <module>()
      3 page = pywikibot.Page(site, 'User_talk:SamGoldBot')
      4 
----> 5 page.text = add_text.page('User talk:SamGoldBot')
      6 
      7 page.save(u"PAWS")

AttributeError: 'module' object has no attribute 'page'