Forum:Pywikipedia Bot - Please Help

Hi, I'm Nobody Cares! I'm an expert in Wiki Coding, HTML, and CSS. But I suck at using Pywikipedia Bot, I already made my user-config.py, I installed python, then Pywikipedia Bot. How do I get my bot to log in and do stuff like add lyrics and video and templates, etc...? P.S. My bot is suppose to edit Songpedia. Thank You

-- 01:59, June 17, 2011 (UTC)


 * Pywikipediabot runs on Python, if you are not familiar with Python, you will have to learn the language to make Pywikipediabot work right. I would suggest using AutoWikiBrowser for now.--
 * I was asking for help on Pywikipedia Bot, since if I use AWB, I will never learn how to use Pywikipedia Bot. So please help me.
 * -- 03:14, June 17, 2011 (UTC)


 * As I said, you will need to learn Python. See here for some basics of Python and for more about Pywikipedia itself--


 * You don't necessarily need to learn that much Python to run the basic scripts that are downloaded with pywikipedia itself, don't worry. :P You'll only need to truly master Python if you want to write new scripts. Assuming that you've made user-config.py properly, and that you run Windows, the next steps are...
 * Run command prompt. This can be done from the Start menu (it's usually under "Accessories").
 * Type  and a space followed by the path to where you've stored pywikipedia on your computer e.g..
 * Run the script you wish to use e.g. . Many of the scripts given by default have instructions for their use i.e. what to type into the command prompt and what it will do.
 * However, it's definitely recommended to seek community approval to run pywikipedia on the wiki, as many of the tasks Pywikipedia will do can clog the recent changes very quickly and/or cause a lot of damage. The key is to be exceedingly careful with what you're doing, and only run when you're absolutely certain of what you will be doing. :) The 888th Avatar   (talk)  10:39, June 17, 2011 (UTC)


 * In addition to the above, I can offer the following advice:
 * I run Python in  and a bot using Pywikipedia in a directory below that.
 * Assuming you already have an account for it, you can get the bot to login by running.
 * On Wikia, a user who wants their bot's actions hidden in Recent Changes has to use Special:Contact to request bot status for their bot account on a particular wiki, whereas on English Wikipedia, I had to file Wikipedia:Wikipedia:Bots/Requests for approval/JeffGBot.
 * Good luck!  — Jeff G. ツ 12:50, June 17, 2011 (UTC)


 * Actually, that's a good point that I forgot... the first time you run the bot, the first script you need to run is login.py. Otherwise, you won't actually be logged in. The 888th Avatar   (talk)  14:01, June 17, 2011 (UTC)
 * And another addition: don't forget to run  to generate the family file after setting up your user-config.  Mark  ( talk ) 15:09, June 17, 2011 (UTC)
 * Thanks for all your advices but where do I put "login.py" and how do I run generate family.py, and how do I get it to edit Songpedia and add lyrics and videos and infoboxes and templates, etc... (Sorry I have too many questions Pywikipedia bot is tricky for me) P.S. My bot is called "BaldDude290".
 * -- 12:52, June 18, 2011 (UTC)

"login.py" should be entered into the command prompt (basically, this is step 3 of the advice I gave above). If you enter "generate_family_file.py" into the command prompt (again, the step 3), further instructions will appear to guide you. If you need further help, just ask. :) The 888th Avatar   (talk)  08:23, June 20, 2011 (UTC)
 * It says that it is not a reconized internal or external command.
 * -- 02:17, June 21, 2011 (UTC)
 * Is python installed on your computer?
 * Is your command line in the directory where login.py is? --  Random Time  11:15, June 21, 2011 (UTC)
 * Also try adding "python" to the command, if you'd want to login, "python login.py" would be the command. Mark  ( talk ) 13:16, June 21, 2011 (UTC)