Learn the NumPy trick for generating synthetic data that actually behaves like real data.
Testing functions isn't hard, but how do you test user input and output? In my last article, I started looking at "pytest", a framework for testing Python programs that's really changed the way I look ...