I was working on one of the exercises on the Pybites platform (Bite 29) and encountered a situation I didn’t understand. I needed to check a set of inputs to see if they were alphanumeric or not as part of the solution to the exercise. I succeeded in all but one test, but I couldn’t… Continue reading Testing membership and empty strings
Articles on strings
Single or double quotes in Python?
By Bob Belderbos on 20 September 2022
Whatever you think about Twitter these days, it’s pretty handy for us developers to ask questions and get inputs 💡 Last week I asked about single vs double quotes in Python: I thought double quotes were a given, black – “The Uncompromising Code Formatter”, defaults to them and I personally find them pleasant to the eye.… Continue reading Single or double quotes in Python?
Mutable vs Immutable Data Types in Python
By Bob Belderbos on 27 April 2020
Knowing the difference between mutable and immutable types in Python is important. In this article I will give you some practical examples of both and show you some of the advantages of using immutable types. We even look at JS / React / functional programming a bit towards the end.
PyBites Twitter Digest – Issue 32, 2018
By PyBites Team on 14 October 2018
Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.
PyBites Twitter Digest – Issue 22, 2018
By PyBites Team on 8 July 2018
Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.
Twitter Digest 2018 Week 03
By PyBites Team on 14 January 2018
Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.
Twitter digest 2017 week 24
By PyBites Team on 18 June 2017
Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.
Twitter digest 2017 week 17
By PyBites Team on 30 April 2017
Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.