Thread:Project:Support desk/How to create a bot to add a new section in a talk page?/reply (2)

Also note that, after logging in, you should save the cookies and send them back again on every other request, because cookies contain the session token to maintain you logged in. I don't know if python would do this automatically for you, so be sure to check this.