Update README.md

Remove excrescent | and add expansion on running
This commit is contained in:
Kovachev 2023-06-05 19:38:47 +01:00 committed by GitHub
parent b716454c58
commit 0986e0e40d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.