News

If you've read a fair amount of Python code, then you've probably seen this "__init__.py" file pop up quite a few times. It's ...
The for loop construction in Python easily iterates over a collection of items. Here’s what you need to know to use it well.
In Python-speak, a codec lets you convert different text encodings. However, you can do other things than text encoding conversion. This is closest in spirit to the C preprocessor method.
What does Python's 'if name equals main' construct do? Python's if __name__ == "__main__": construct enables a single Python file to not only support reusable code and functions, but also contain ...
Milunovich said iPhone sales are a “pig in a python,” defined by the Oxford English Dictionary as a “sharp statistical increase represented as a bulge in an otherwise level pattern.” ...
This post explains how to use loops in Python. You'll learn FOR loops, WHILE loops, BREAK, CONTINUE and more. A crucial skill for coding!
How to get started using Python's asyncio. Earlier this year, I attended PyCon, the international Python conference. One topic, presented at numerous talks and discussed informally in the hallway, was ...
There's a sneaky danger involved with the Python import statement. Here's why it is a potential risk for enterprises and what they can do about it.