import pywikibot
site
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-2-a0c7e14b2e27> in <module>()
----> 1 site

NameError: name 'site' is not defined
site = pywikibot.Site('test', 'wikipedia')
site
APISite("test", "wikipedia")
pwb.py
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-5-d215821285a5> in <module>()
----> 1 pwb.py

NameError: name 'pwb' is not defined