Index ¦ Archives > Category: Python

Making Sense of Python's Object Model

Introduction

We're going to explain a few things about Python's object model here. Python's object model (at least with regard to data) can be viewed as being similar to Java's and C#'s if one considers only those languages' "class types", which are reference types.

In this view, Python has …


A Hexdump Program in Python

Introduction

We're going to roll our own hexdump program here. A hexdump program is a useful tool for a Python programmer. It allows one to learn about UTF-8 and other Unicode character encodings, examine input and output data, troubleshoot Python source code encoding, and so on.

Writing a hexdump program …


An HTML Table Generator in Python

Introduction

We're going to roll our own HTML table generator here. Most programmers have had fun at least once in their lives manually writing HTML. Once the practice is mastered, however, it's not something they want to continue to do - they're content to let the front-end design people handle it …

© Keith Brown. Built using Pelican. Theme by Giulio Fidente on github. Member of the Internet Defense League.