An exploration of asynchronous IO, event loops, threads, and coroutines through code written for Node.js and Python 3.4.
Articles in the Python category
-
Tags:
-
Understanding SAT by Implementing a Simple SAT Solver in Python
SAT is often described as the "mother of all NP-complete problems." This post goes over what SAT is and why it is considered to be so important. A simple SAT solver is implemented using Python in the process.
Tags: -
Combinatorial Generation Using Coroutines With Examples in Python
Approaching combinatorial generation algorithms using coroutines, with examples in Python. Inspired by Knuth's work in his volume 4 of The Art of Computer Programming, as well as his "Deconstructing Coroutines" paper, co-written with Frank Ruskey.
-
30 Python Language Features and Tricks You May Not Know About
A list of Python tips and tricks. See how many of them you already know.
Tags: -
Understanding Two-Step Verification With An Example Using Python and Google Authenticator
An introduction to two-step authentication, HOTP and TOTP algorithms, with an example in Python on Heroku using Flask and pyotp and the Google Authenticator app for client-side.
Tags: -
Programmer's Guide to Setting Up a Mac OS X Machine
My list of items to do to set up a Mac OS X machine for coding and other power user tasks.
-
A Study of Python's More Advanced Features Part III: Classes and Metaclasses
A study of how Python handles classes and metaclasses.
Tags: -
A Study of Python's More Advanced Features Part II: Closures, Decorators and functools
A study of Python's function and class decorators. An appendix to explain Python's closures is given too. Plenty of examples.
Tags: -
A Study of Python's More Advanced Features Part I: Iterators, Generators, itertools
A study of Python's iterators, generators and the itertools package, with ample (mostly) mathematical examples.
Tags: