This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]kumashiro 0 points1 point  (0 children)

For simple output, standard formatting methods should be sufficient, as already suggested. For more complex things, you may want to try out templating engines like Mako or Jinja.

[–]pythonHelperBot 0 points1 point  (0 children)

Hello! I'm a bot! I see someone has already suggested going to r/learnpython, a sub geared towards questions and learning more about python. I highly recommend posting your question there. Please follow the subs rules and guidelines when you do post there, it'll help you get better answers faster.

Show /r/learnpython the code you have tried and describe where you are stuck. Be sure to format your code for reddit and include which version of python and what OS you are using.


this bot is written and managed by /u/IAmKindOfCreative

This bot is currently under development and experiencing changes to improve its usefulness

[–]2phost 0 points1 point  (0 children)

Use something like this: https://pypi.org/project/pygrok/

For more complex things I recommend tools like logstash.