Perl-like “unless” (reverse if) feature in Python

Vasudev Ram’s blog on software innovation, open-source and proprietary, worldwide. Python, D, Go, FreePascal, Unix, databases, open source. Read more

Similar

Numbers in Python

In this tutorial, you'll learn about numbers and basic math in Python. You'll explore integer, floating-point numbers, and complex numbers and see how perform calculations using Python's arithmetic operators, math functions, and number methods. (more…)

Read more »

How to Make Python Wait

For many types of applications, at times it is necessary to pause the running of the program until some external condition occurs. You may need to wait until another thread finishes, or maybe until a new file appears in a directory on disk that is being w... (more…)

Read more »

Exploring Line Lengths in Python Packages

This week, Twitter upped their single-tweet character limit from 140 to 280, purportedly based on this interesting analysis of tweet lengths published on Twitter's engineering blog. The gist of the analysis is this: English language tweets display a rough... (more…)

Read more »