How do I append an output text onto a file in python

visit shbcf.ru