User talk:Bináris/Pywikibot cookbook

Introduction
First of all, this is a great work! Thank you for it. Here are some points of my first review of the first chapter
 * Encoding and environment
 * IDLE shows line numbers. To enable it use.
 * To fast jump to a line number you may use the short cut +.


 * Wher to put
 * I tmay be notable that  also accepts absolute paths. For example my framework resides in   and my scripts resides in  . The absolute path is added o use these scripts:.


 * Running a script
 * To run scripts without pwb wrapper the  must be set I guess or the subfolder must be included to the call:.
 * When registering  with python, the call can be simplified as.


 * Coding style
 * PEP20, the zen of Python is also nice ;). And don't forget documentation.


 * Scripting vs interactive use
 * The  script also starts a Python shell but imports pywikibot automatically. Another way to use a shell is via IDLE and using   (my prefered way but be aware: passwords are not hidden here)
 * Did you have introduced the -simulate option elsewhere?


 * Documentation and help
 * Be aware that documentation on mediawiki.org may be outdated especially if the content can be created easier by sphinx and placed  at https://doc.wikimedia.org/pywikibot/stable/ then.

Thank you so much. @ xqt 06:57, 6 March 2023 (UTC)