Python allows you to use *args and **kwargs in function definitions to accept an arbitrary number of positional and keyword arguments, respectively. Here is a simple example: Different types of function arguments In the above example, the arbitrary_args function is defined to accept any number of positional and keyword arguments using the *args and **kwargs… Continue reading The Arbitrary (Keyword) Arguments (args and kwargs) don’t come “for free” in Python
Articles on code review
How the Pygmalion Effect can improve your team’s performance
By PyBites Team on 4 August 2023
Welcome back to the Pybites podcast. This is the third and last mindset series episode with Alejandro Briceño. In this episode we talk about the Pygmalion Effect. What is it and what impact it can have in the work place and on people’s performance. Alejandro also shares his 3 favorite mindset books. Enjoy! Watch here:… Continue reading How the Pygmalion Effect can improve your team’s performance
Tips for clean code in Python
By Bob Belderbos on 8 November 2022
In this article I will give you 10 tips for cleaner code. Hope this helps improve your Python code. 1. Smaller units. Break long functions (methods) into multiple smaller ones that do one thing (SRP or “Single-responsibility principle”). This will make your code more modular and easier to test. For example, a function that parses… Continue reading Tips for clean code in Python
Growing developer teams in a deep tech startup
By PyBites Team on 22 July 2022
Listen here: This week, we have Robin back on the show to talk about how he has grown as a Python developer with the startup ACCURE and as mentor at PDM. ACCURE Battery Intelligence GmbH uses cloud computing to make batteries more safe, reliable and sustainable and has grown 10x from 4 to more than 40 ACCURIANs in… Continue reading Growing developer teams in a deep tech startup
Code Challenge 61 – Build a URL Shortener
By PyBites Team on 21 February 2019
Hey Pythonistas, in this challenge you will build an URL shortener. Enjoy!
Code Challenge 30 – The Art of Refactoring: Improve Your Code – Review
By PyBites Team on 7 August 2017
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!
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!
Learning Python by Building a Wisdom Quotes App
By Dante Septem on 9 May 2017
In this guest post Dante tells us about his Wisdom of the Ages app he built for PyBites code challenge 16 (reviewed here). The best way to learn Python is to build something and we are proud of our community achieving just that.
Code Challenge 11 – Generators for Fun and Profit – Review
By PyBites Team on 25 March 2017
It’s end of the week again so we review the code challenge of this week. It’s never late to sign up, just fork our challenges repo and start coding.
Code Challenge 10 – Build a Hangman Game – Review
By PyBites Team on 18 March 2017
It’s end of the week again so we review the code challenge of this week. It’s never late to sign up, just fork our challenges repo and start coding.