Python Week at Packt Publishing
Go to https://www.packtpub.com. Look for the deal of the week. Get 20% off Python titles. You're welcome.
more ...Go to https://www.packtpub.com. Look for the deal of the week. Get 20% off Python titles. You're welcome.
more ...Once upon a time, when today's old folks were young, we'd debate the two project strategies: Hard Part Do Later (HPDL) vs. Hard Part First (HPF).
The HPDL folks argued that you could pick away at the hard part until -- eventually -- it wasn't hard any more. This doesn't often work …
more ...Start here: https://docs.python.org/3/whatsnew/3.5.html#whatsnew-pep-484
While new syntax is important, remember your audience in pitching the upgrade from Python 2.7. You may need to pander to people who aren't programmers or don't really know Python.
When selling the upgrade, it can help …
more ...Here are some tricks to working with log file extracts. We're looking at some Enterprise Splunk extracts. We can fiddle around with Splunk, trying to explore the data. Or we can get a simple extract and fiddle around with the data in Python.
Running different experiments in Python seems to …
more ...See Audio Synth.
At first, I imagined the problem was going to be PyAudio. This package has a bunch of installers. But the installers don't recognize Python 3.4, so none of them work for me. The common fallback plan is to install from source, but, I couldn't find the …
more ...Why write Python in Visual Studio?
That what I want to know, too.
IntelliSense? ActiveState Komodo does this. And it does it very well considering the potential complexity of trying to determine what identifiers are possibly valid in a dynamic language.
Debugger? No thanks. I haven't used it yet. [I …
more ...Mocking is essential to unit testing.
However.
It's also annoyingly difficult to get right.
If we aren't 100% perfectly clear on what we're mocking, we will merely canonize any dumb assumptions into mock objects that don't really work. They work in the sense that they don't crash, but they don't …
more ...Step 1. Go to amazon.com and look for one (or more) of my Python books.
Step 2. Have you read it?
That's all. Consider doing this for other authors, also.
Social media is its own weird economy. The currency seems to …
more ...