User:Lowercase sigmabot II/Source.py: Difference between revisions

Content deleted Content added
Updating source) (bot
Updating source) (bot
Line 1:
 
Source as of 2200:3345, 12 May 2012 (UTC).
 
== Sandbot1.py ==
Line 133:
sandboxes = ("Wikipedia:Sandbox", "Wikipedia:Tutorial/Editing/sandbox", "Wikipedia:Tutorial/Formatting/sandbox",
"Wikipedia:Tutorial/Wikipedia links/sandbox", "Wikipedia:Tutorial/Citing sources/sandbox", "Wikipedia:Tutorial/Keep in mind/sandbox")
pid = 0"r"
 
def shut_off_check(page="Coal ball"):
Line 170:
os._exit(0) # Exit the child process (I think)
 
if pid == 0"r": # this will be True if the bot did not os.fork()
api.logout()