2016-09-14 12:12 GMT+03:00 Bináris <[email protected]>: > I use replace.py blahblah foo bar > something.txt
pywikibot.output logs to stderr, so you might want replace.py blahblah foo bar 2> something.txt or, if you want everything in that file: replace.py blahblah foo bar &> something.txt Strainu > > something.txt will only contain some irrelevant lines, but the essential > information output by the script still comes to the screen (without > colours). That's what I need in a file. (Something is in the log, but that > one has a too complicated form with colour codes and everything that is in > my way.) > > -- > Bináris > > _______________________________________________ > pywikibot mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/pywikibot > _______________________________________________ pywikibot mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot
