In this article we review last week’s The Art of Refactoring: Improve Your Code code challenge. We’re excited to have done 30 challenges so far and it feels like we only got started. Prepare for more to come!
Articles on bestpractices
Code Challenge 30 – The Art of Refactoring: Improve Your Code
By PyBites Team on 1 August 2017
Hi Pythonistas, a new week, a new ‘bite’ of Python coding. Wow challenge 30 already! This week we let you hone your refactoring skills. Learn, code, PR submit (don’t be shy) and above all have fun!
Comparing Lists with Difflib
By Julian Sequeira on 8 March 2017
Learn to compare blocks of text with the difflib module.
Pythonic String Formatting
By Julian Sequeira on 2 March 2017
The formatting of strings has been a hot topic in Python and something that I struggled with at the beginning. It’s quite interesting to see how it’s evolved over time to be what it is today!
Code Challenge Pilot – code review
By PyBites Team on 5 January 2017
In this post I review the code of challenge # 1 and refactor it to make it more Pythonic.
5 min guide to PEP8
By Bob Belderbos on 2 January 2017
Today a post on PEP8, the Style Guide for Python Code
Python Naming Conventions
By Julian Sequeira on 1 January 2017
Naming conventions can be tricky in Py. It’s good to make sure we’re all on the same page.
Don’t Let Indentation Catch You Out
By Julian Sequeira on 30 December 2016
Python indentation can be a cruel mistress. Let’s get it right!
Learning from Python mistakes
By Bob Belderbos on 28 December 2016
In this post I summarize some great lessons Mike Pirnat shared in his free ebook ‘How to make mistakes in Python’