Xqt added a comment.

  > I noticed that there are a lot of Bash codes while running pwb. I'm a 
windows user and run python using either pycharm or python's default ide. I'm 
not that much comfortable in bash. Is it possible to show running some simple 
scripts for users comfortable in gui like me?
  
  Pywikibot scripts are made to run in Windows Command Prompt.
  
  - To start it type `cmd` and press `[Enter]`.
  - Set the path to your Pywikibot folder e.g. `cd c:\pywikibot\core` if this 
is the Pywikibot directory
  - now run your script (here touch.py) like `pwb touch -page:Foo -simulate`
  
  You can run the scripts via IDLE but it is not recommended to do it:
  
  - Start IDLE from the Pywikibot directory and run the shell:
  
    from scripts import basic  # import the script (here basic.py)
    basic.main('text:Foo', '-page:Project:Sandbox', '-simulate')  # pass 
arguments to the script and run it

TASK DETAIL
  https://phabricator.wikimedia.org/T304245

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: srishakatux, Xqt
Cc: Xqt, srishakatux, pywikibot-bugs-list, mseckington, Aklapper, komla, 
Marianamais, Maberdour, Jyoo1011, JohnsonLee01, Zblace, SHEKH, Dijkstra, 
Khutuck, Zkhalido, Demian, Pavithraes, Marajozkee, Viztor, Wenyi, 
Jayprakash12345, Tbscho, MayS, WMNOastrid, Mdupont, JJMC89, Dvorapa, 
Altostratus, Avicennasis, Susannaanas, mys_721tx, Gryllida, jayvdb, Masti, 
Alchimista, Rfarrand, Zack, bd808, Dzahn, jeremyb
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to