24 votes

Topic deleted by author

3 comments

  1. Deimos
    Link
    Very nice, so much simpler! I'm not sure how much effort you want to spend on this overall, but if you want to improve it a little more, a good next step would probably be making a class for the...

    Very nice, so much simpler!

    I'm not sure how much effort you want to spend on this overall, but if you want to improve it a little more, a good next step would probably be making a class for the topics, with default values in the __init__ constructor. That would let you make a lot of the logic simpler instead of needing all the if/else checks in the post_topic() method.

    10 votes
  2. unknown user
    Link
    Great work, thanks! You might wanna add a requirements.txt to this, the steps would be: generate a virtualenv activate it install tildee run pip freeze > requirements.txt Granted you only have one...

    Great work, thanks!

    You might wanna add a requirements.txt to this, the steps would be:

    • generate a virtualenv
    • activate it
    • install tildee
    • run pip freeze > requirements.txt

    Granted you only have one dep as of now, but whatever the amount grows to as time goes by, with this people can easily run pip install -r requirements.txt and get going with the script.

    9 votes
  3. acdw
    Link
    This might come in very handy with posting the "What are you reading these days?" threads, thanks for updating it!

    This might come in very handy with posting the "What are you reading these days?" threads, thanks for updating it!

    3 votes