Manual:Pywikibot/pwb.py/en

pwb.py is a wrapper script to use in a 'directory' mode.

Usage
Run scripts using:

and it will use the package directory to store all user files, fix up search paths so the package does not need to be installed, etc.

Currently &lt;pwb options> are global options. This can be used for tests to set the default site like (see T216825):