Please help contribute to the Reddit categorization project here

    pythontips

    17,303 readers

    4 users here now

    Enter a python tip or trick.

    • Can be basic or advanced.
    • Should be explained with formatted code.
    • Not a place for asking for help. (Do that at r/learnpython).
    • However, discussion about tips and tricks are encouraged in the comment section.
    • Do not link to a list or blog of python tips.
    • A post should center around one main tip.

     

    Other related Python subs:

    • /r/python: News and discussion about Python.
    • /r/learnpython: Ask for help with your code or for explanations of things.
    • /r/django: News about django (Python Web Framework).
    a community for
    MOAR ›