Update README.md
Remove excrescent | and add expansion on running
This commit is contained in:
parent
b716454c58
commit
0986e0e40d
@ -5,4 +5,4 @@ Each directory contains a distinct task that the bot is assigned and works large
|
|||||||
# Run instructions
|
# Run instructions
|
||||||
If you are unfamiliar with Pywikibot, please refer to the Wikimedia guide on using it. (https://www.mediawiki.org/wiki/Manual:Pywikibot)
|
If you are unfamiliar with Pywikibot, please refer to the Wikimedia guide on using it. (https://www.mediawiki.org/wiki/Manual:Pywikibot)
|
||||||
Once you have installed Pywikibot, navigate to the installation directory and ensure any scripts you wish to run from here are put in the folder `<pywikibot path>/scripts/myscripts`. This is a default directory within which scripts can be recognised from the root of the pywikibot directory. Alternatively, this step can be skipped and the command `pwb <file name>` be run, as long as the path to the file is specified.
|
Once you have installed Pywikibot, navigate to the installation directory and ensure any scripts you wish to run from here are put in the folder `<pywikibot path>/scripts/myscripts`. This is a default directory within which scripts can be recognised from the root of the pywikibot directory. Alternatively, this step can be skipped and the command `pwb <file name>` be run, as long as the path to the file is specified.
|
||||||
Otherwise, simply run: `python pwb.py test.py` from the terminal within the pywikibot root directory. |
|
Otherwise, simply run: `python pwb.py <script name>` from the terminal within the pywikibot root directory. You can omit the `.py` extension if running in this way.
|
||||||
|
Loading…
Reference in New Issue
Block a user