There are a few different approaches for writing tests for date and/or time-sensitive functionality. One…
Read MoreTag: python
Django Rest Framework: adding DateTimeField format serializer validation
til web developmentAdding date and time format validation to a DRF serializer
Read MoreTIL: installed packages in Python – list, and show
til web developmentIf your Python project has a very short list of required packages (in requirements, pipfile,…
Read MoreA caller id for your python function
how-toMost of you might be too young to know this but there was time that…
Read MoreGetting started with gRPC – part II: the code
gRPC JavaScriptIn a previous post I wrote a summary of the things I learned about gRPC.…
Read MoreGetting started with gRPC – part I: the what
gRPC JavaScriptI recently spent some time researching gRPC and this post is a summary of what…
Read MoreDo I need to indent my Python code? What about JavaScript?
UncategorizedYes! Indentation, or leading white space at the beginning of a line is required in…
Read MoreDifference among list, tuple and set in Python and when to use each one
UncategorizedPython has three similar data structures that can hold an unordered collection of elements: list,…
Read MoreAdd a filename in the command line when running a Python script
UncategorizedOR: Run a Python script with arguments You can add arguments to the command line…
Read MoreDisplay nested dictionary content sorted by key in Python
UncategorizedGiven a nested dictionary like this: dog_breeds = { 'Labrador Retriever': {'life_span': 14, 'male_weight': '36…
Read More