python
-
Comparing Text Similarity between two sentences using Python: Part 1
This is Part 1 in a series covering NLP (Natural Language Processing) which progresses through a real-world problem that I recently encountered. I thought this would be a good topic to write since it is relatable to many online businesses… Continue reading
-
Python Interviewing Quick Reference Guide (a.k.a. “cheat sheet”)
PEP8 style guide: https://peps.python.org/pep-0008/. Top 3 style guidance – use 4 space indents, lower camel case functions and variables, 79 char width (72 for docstrings). I use double quotes for strings so I don’t have to reprogram my brain when… Continue reading
-
SyntaxError: (unicode error) ‘unicodeescape’ codec can’t decode bytes in position truncated \UXXXXXXXX escape
This is a common error in python when you are reading from a file and have specified a file path String. You can usually fix this by placing an ‘r’ in the front of your string to change it to… Continue reading

