import pywikibot
site = pywikibot.Site('test', 'wikipedia')
site
APISite("test", "wikipedia")
site = pywikibot.Site('habitica', 'wikia')
WARNING: /srv/paws/lib/python3.6/site-packages/ipykernel_launcher.py:1: UserWarning: Site wikia:wikia instantiated using different code "habitica"
  """Entry point for launching an IPython kernel.

site
APISite("wikia", "wikia")
pwb.py login
  File "<ipython-input-6-d6400450f46f>", line 1
    pwb.py login
               ^
SyntaxError: invalid syntax