Yes! Indentation, or leading white space at the beginning of a line is required in…
Read MoreAuthor: flavia
Difference among list, tuple and set in Python and when to use each one
python quick-tipPython has three similar data structures that can hold an unordered collection of elements: list,…
Read MoreSending docker container logs to a separate file
command lineIn a large web application, the backend logs can get quite verbose: requests created, sent,…
Read MoreBook review: Think Like a Programmer
booksNote: I’m not being paid or receiving any kind of compensation for this review. TL;DR:…
Read MoreDebugging Python applications (plus free cheat sheet)
pythonMy primary debugging tool is to add print statements to my programs</confession_time>. Print statements are…
Read MoreCommand line shortcuts
command lineI normally don’t use many shortcuts because it’s easier to just use my arrows and…
Read MoreAdd a filename in the command line when running a Python script
command line how-to python quick-tipOR: Run a Python script with arguments You can add arguments to the command line…
Read MoreDisplay nested dictionary content sorted by key in Python
how-to pythonGiven a nested dictionary like this: dog_breeds = { 'Labrador Retriever': {'life_span': 14, 'male_weight': '36…
Read MoreNetworking for Developers – part 3: Network and Physical layers
networkingNOTE: Catch up with the previous posts in this post series: Part 1: Overview Part…
Read MoreNetworking for Developers – part 2: application and transport layers
networkingNOTE: Catch up with the previous posts in this post series: Part 1: Overview The…
Read More