Blog: #python

These are the 257 blog posts about the Python programming language:

19 Nov 2024:

Loop targets

28 May 2024:

One way to fix Python circular imports

11 Mar 2024:

Does Python have pointers?  also: #programming-languages

10 Feb 2024:

One way to package Python code right now

10 Dec 2023:

Real-world match/case

29 Nov 2023:

Say it again: values not expressions  also: #beginners

23 Jul 2023:

Untangle your own adventure  also: #education

14 Feb 2023:

Late initialization, reconsidered  also: #coding

12 Feb 2023:

Late initialization with mypy  also: #coding

8 Oct 2022:

Decorator shortcuts

5 Jun 2022:

Adding a dunder to an object

8 May 2022:

Twitter tidbits  also: #twitter

14 Apr 2022:

Python custom formatting

10 Apr 2022:

Singleton is a bad idea  also: #development

18 Feb 2022:

Why your mock still doesn’t work  also: #testing

28 Dec 2021:

Gem: exploding string alternatives  also: #gems

12 Aug 2021:

Pythonic monotonic

17 May 2021:

What’s in which Python 3.7–3.9?

12 Oct 2020:

Ordered dict surprises

22 Aug 2020:

Do a pile of work better  also: #concurrency

19 Aug 2020:

Do a pile of work  also: #concurrency

20 Jun 2020:

Pickle’s nine flaws

24 May 2020:

What I think is good and bad  also: #irc

18 Apr 2020:

Letter boxed  also: #puzzles

27 Mar 2020:

How long did it take you to learn Python?  also: #beginners #education

13 Mar 2020:

Functional strategies in Python  also: #dev-mindset

9 Feb 2020:

sys.getsizeof is not what you want

2 Aug 2019:

Why your mock doesn’t work  also: #testing

25 May 2019:

Why Python class syntax should be different

16 Apr 2019:

Startup.py

20 Dec 2018:

A thing I learned about Python recursion

19 Dec 2018:

Advent of code presentation  also: #presentations #puzzles

4 Nov 2018:

Careful with negative assertions  also: #testing

27 Oct 2018:

Why warnings is mysterious

25 Sep 2018:

Me on Talk Python To Me  also: #audio #coverage #me #edx

29 Mar 2018:

Is Python interpreted or compiled? Yes.  also: #java #programming-languages

22 Mar 2018:

What’s in which Python 3.4–3.6?

26 Feb 2018:

A Python gargoyle

23 Jan 2018:

Python’s misleading readability

8 Dec 2017:

Iter-tools for puzzles: oddity  also: #coding #puzzles

3 Dec 2017:

Bite-sized command line tools: pylintdb  also: #linters

12 May 2017:

Re-ruling .rst  also: #documentation

24 Apr 2017:

Shell = Maybe

15 Mar 2017:

IronPython is weird

23 Feb 2017:

A tale of two exceptions, continued

22 Jan 2017:

A tale of two exceptions

10 Jan 2017:

Evil ninja module initialization

18 Aug 2016:

Lists vs. Tuples

4 Aug 2016:

Breaking out of two loops

11 May 2016:

Generator comprehensions  also: #history

11 Feb 2016:

The value of unit tests  also: #audio #testing

24 Jan 2016:

Python testing, book and podcast  also: #testing

16 Jan 2016:

Isolated @memoize  also: #testing

17 Aug 2015:

Using context managers in test setUp

14 Mar 2015:

Finding temp file creators  also: #debugging

16 Feb 2015:

CPyChecker  also: #linters

13 Dec 2014:

Seeing what the computer sees

30 Jul 2014:

Creative looping

14 Mar 2014:

Pi day

5 Jan 2014:

Python nugget: renumbering ids

30 Dec 2013:

Un-ABC

15 Dec 2013:

Versioned Python commands on Mac  also: #mac #unix

10 Nov 2013:

Ad-hoc data breakpoints  also: #debugging

8 Oct 2013:

What’s in which Python 3.0–3.3?

25 Sep 2013:

How to raffle a book

27 Aug 2013:

Names and values: making a game board

16 Jul 2013:

How many instructions in a print statement?

7 Jul 2013:

Facts and myths about Python names and values

18 Jun 2013:

Explaining descriptors  also: #documentation

11 Jun 2013:

Filter a list into two parts

23 May 2013:

What made you feel competent in Python?

16 Mar 2013:

Loop Like a Native  also: #pycon

23 Feb 2013:

Ad-hoc decoding a backdoor  also: #malware #php

14 Feb 2013:

Hunting a random() bug

12 Feb 2013:

Finding Python 3 builtins

11 Feb 2013:

Looking for Python 3 builtins

1 Feb 2013:

War is peace  also: #ruby #security

24 Jan 2013:

Byterun, and making cells

20 Dec 2012:

Implementing rpartition

17 Dec 2012:

Skipping C extensions

1 Dec 2012:

Kim’s Python lesson  also: #education #friends-&-family

13 Nov 2012:

Tricky locals()

4 Nov 2012:

I fixed Python!

28 Oct 2012:

Multiple inheritance is hard

10 Oct 2012:

Pizza.py  also: #food

19 Sep 2012:

Gems all the way down

13 Sep 2012:

Mocking datetime.today  also: #testing

8 Sep 2012:

Removing overlapping regex matches  also: #gems

26 Aug 2012:

Selecting randomly from an unknown sequence  also: #algorithms

21 Aug 2012:

Fixing broken Unicode  also: #characters

20 Jul 2012:

Bad answers on Stack Overflow  also: #education #online

8 Jul 2012:

Julython

6 Jun 2012:

Eval really is dangerous  also: #security

28 May 2012:

Recursive dogma

25 Apr 2012:

Python iteration presentation  also: #presentations

25 Mar 2012:

Breaking out of two loops at once

26 Jan 2012:

Slim comparisons

10 Jan 2012:

Decorated fabric over the edge

31 Dec 2011:

Keep data out of your variable names

18 Oct 2011:

For/else

30 Sep 2011:

What’s in which Python 2.x?

9 Sep 2011:

Online Python exercises  also: #education #java

24 Aug 2011:

Stack ninjas  also: #debugging #hacks

7 Aug 2011:

How we do it in Boston  also: #gatherings #presentations

17 Jul 2011:

Getting started testing  also: #presentations #testing

10 Jul 2011:

Caged Python  also: #presentations

13 Jun 2011:

Long-running restartable worker

1 Jun 2011:

Filenames with accents  also: #characters

29 May 2011:

Teaching (and learning) Python  also: #places

4 May 2011:

How settrace really works, or doesn’t  also: #coverage

10 Apr 2011:

A Javascript lexer in Python, and the saga behind it  also: #django #javascript

31 Dec 2010:

Faked translations: poxx.py  also: #django

30 Dec 2010:

Splitting Planet Python  also: #site

2 Nov 2010:

Pythonic

7 Oct 2010:

Surprising __getattr__ recursion

10 Sep 2010:

Python Meetup: Beginner’s Night  also: #gatherings #presentations

5 Sep 2010:

Making good tar files on Windows  also: #windows

28 Jul 2010:

Better error messages  also: #exceptions

17 Jul 2010:

Installing Python packages from Windows installers into virtualenv  also: #windows

22 May 2010:

Coverage.py on Jython  also: #coverage

24 Apr 2010:

Converting Blogger to Wordpress  also: #web

18 Apr 2010:

Organic metaclasses

14 Apr 2010:

Web development peeve  also: #web

22 Mar 2010:

What’s the point of os.path.commonprefix?

2 Mar 2010:

Trace function debugging challenge  also: #debugging #help

9 Feb 2010:

A preventable Python packaging peeve

7 Feb 2010:

Test classes, singular or plural?  also: #coding #testing

14 Jan 2010:

Running code at Python startup

29 Nov 2009:

Python packaging mishegas

5 Nov 2009:

Continuous integration for Python with Hudson  also: #continuous-integration #how-to

3 Oct 2009:

Running the same code on Python 2.x and 3.x

24 Sep 2009:

Line continuations from tokenize.generate_tokens

29 Aug 2009:

Explaining Python at DevDays Boston  also: #education #gatherings #presentations

13 Jul 2009:

Coverage.py on Python 3.x  also: #coverage

29 May 2009:

Simon’s optfunc

9 May 2009:

Running a Python file as main, take 2

7 Apr 2009:

Running a Python file as main

25 Mar 2009:

A Whirlwind Excursion through Python C Extensions  also: #pycon

10 Feb 2009:

C extensions at the Cambridge Python meetup  also: #gatherings

30 Nov 2008:

Things I don’t like about doctest  also: #testing

19 Nov 2008:

Pathological backtracking  also: #regex

19 Oct 2008:

Python mystery #6237: solved

2 Oct 2008:

Python registry grepper  also: #windows

1 Oct 2008:

Switching Python versions on windows  also: #windows

18 Jun 2008:

Python import helper

14 Jun 2008:

Pylint  also: #linters #tools

24 May 2008:

Cog 2.1 and newline detection  also: #cog

19 Apr 2008:

Separating sentences  also: #django #language #regex #site

11 Apr 2008:

Wicked hack: Python bytecode tracing  also: #coverage

9 Apr 2008:

The structure of .pyc files

30 Mar 2008:

Evolutionary ladder  also: #coding

18 Mar 2008:

Python code complexity micro-tool  also: #tools

26 Feb 2008:

Python solvers  also: #algorithms

11 Feb 2008:

Enumerating trees  also: #math

30 Jan 2008:

Truly transparent text with PIL  also: #graphics #how-to

24 Jan 2008:

Chandler and Python: don’t blame the tools  also: #osaf

11 Dec 2007:

Human sorting  also: #gems

6 Dec 2007:

Extracting JPGs from PDFs  also: #graphics #how-to #pdf

13 Nov 2007:

Re-throwing exceptions in Python  also: #exceptions

29 Sep 2007:

Python’s super (considered harmful)

15 Sep 2007:

Gimp gradient files  also: #graphics #my-code

13 Sep 2007:

Connelly Barnes  also: #blogs #comp-sci

22 Jul 2007:

Geek dessert  also: #food

9 Jul 2007:

Hyphenate.py  also: #language #my-code

15 Jun 2007:

Upgrading from lists to objects

1 Jun 2007:

Python on Planes  also: #funny

28 May 2007:

A Digital Remake  also: #typography

23 May 2007:

Getting started with Python

16 May 2007:

Python SSL support in Windows and opening MSI files  also: #windows

8 Apr 2007:

My .pdbrc  also: #debugging

10 Jan 2007:

Python assignment trickiness

22 Oct 2006:

Too dynamic?

21 Oct 2006:

Pygments

3 Oct 2006:

Iterator merge in Python

2 Oct 2006:

Glimpsing the garden over the wall  also: #work

6 Sep 2006:

Impoverished exceptions  also: #exceptions

5 Sep 2006:

assertRaisesMsg  also: #exceptions #testing

30 Jul 2006:

Partition for Python

29 May 2006:

SQLAlchemy  also: #databases

22 May 2006:

Dunder

28 Apr 2006:

Python tuples are not just constant lists

26 Apr 2006:

Python tuning tips

2 Apr 2006:

Web frameworks, seriously  also: #django #ruby

1 Apr 2006:

Web frameworks: RoR is the winner  also: #django #ruby

18 Mar 2006:

New idioms for old

13 Feb 2006:

Things that bug me about two-dimensional programming  also: #coding

31 Jan 2006:

Using Eclipse  also: #ides #java

26 Jan 2006:

Quick PIL tip  also: #graphics

29 Dec 2005:

Multiple Python installations on Windows  also: #windows

2 Dec 2005:

Python Testing Tools Taxonomy and Jester  also: #testing #tools

29 Nov 2005:

How this site is made: xuff, px, bx, etc  also: #site #xslt

18 Nov 2005:

My personal Python mind set  also: #dev-mindset

7 Nov 2005:

Ajaxy Exception Catching  also: #exceptions #web

25 Oct 2005:

More alternatives for Python unit testing  also: #testing

10 Oct 2005:

Madlibs, part 3  also: #parenting

17 Sep 2005:

TurboGears  also: #web

8 Sep 2005:

Amazon sales stats grabber  also: #amazon

7 Sep 2005:

Faces project management  also: #management

6 Sep 2005:

py2exe 0.6.1  also: #windows

2 Sep 2005:

Interactive debugging in Python  also: #debugging

10 Aug 2005:

Madlibs, part 2  also: #parenting

31 Jul 2005:

Programming with kids: madlibs  also: #parenting

16 Jul 2005:

Django  also: #django #web

11 Jul 2005:

PySWT  also: #ui

9 May 2005:

Enums and switches

1 May 2005:

Id3Writer  also: #music

29 Apr 2005:

ANTLR in Python  also: #java

28 Apr 2005:

Updated Python parsers page

20 Apr 2005:

Python jobs board

24 Mar 2005:

Python limericks  also: #geeky

11 Mar 2005:

Boston Python meetup

30 Jan 2005:

Nice Windows icons with wxPython  also: #how-to

28 Jan 2005:

Dispatching events in wxPython

27 Jan 2005:

Mongoose  also: #exceptions #libraries

5 Dec 2004:

Stuck  also: #coverage

2 Dec 2004:

Python is not Java  also: #java

20 Nov 2004:

Alternatives for Python unit testing  also: #testing

19 Oct 2004:

A quest for pythonic interfaces

3 Oct 2004:

__FILE__ and __LINE__ in Python  also: #coding

30 Sep 2004:

Survey of Python parsing tools  also: #libraries

27 Jul 2004:

Introduction to Python

31 May 2004:

Another success story  also: #cog

4 May 2004:

Psyco

8 Apr 2004:

Boa constructor  also: #ides

26 Mar 2004:

Promoting computer literacy through programming Python  also: #education

6 Feb 2004:

Another cool thing about perforce: Python  also: #shells #source-control

3 Feb 2004:

Showing C header structure  also: #c++ #tools

28 Jan 2004:

How to distribute Python modules?  also: #how-to

13 Jan 2004:

Printing Unicode from Python  also: #characters

4 Jan 2004:

Things I learned about Unicode today  also: #characters

30 Dec 2003:

Browser as desktop ui  also: #ui #web

6 Dec 2003:

winGuiAuto.py  also: #windows

4 Dec 2003:

SchoolTool

5 Nov 2003:

M3u files in a tree  also: #music

26 Oct 2003:

re.split

8 Aug 2003:

Eclipse impressions  also: #ides #java

23 Jul 2003:

Python and Eclipse  also: #ides #osaf

23 Jul 2003:

Pickle hiccups

12 Jun 2003:

Quick Python links: MSNbot, Project planning, GD  also: #quick-links

6 Jun 2003:

Python main() functions  also: #how-to #shells

5 Jun 2003:

Peter Norvig  also: #blogs #java

28 May 2003:

Recent Python-URL gleanings  also: #quick-links

15 May 2003:

Quick links: darcs, Capon, twiddling, xmltramp, meld  also: #algorithms #quick-links #source-control #xml

3 May 2003:

Self-contained Python

10 Apr 2003:

Verbose Python regular expressions  also: #regex

6 Apr 2003:

Chaco and MakeMenu  also: #tools

29 Mar 2003:

Python Photo Gallery  also: #photos

24 Mar 2003:

Error handling in wxPython  also: #exceptions

18 Feb 2003:

Fish, Codeville, PSP8  also: #quick-links

30 Jan 2003:

The path Python module  also: #libraries

15 Jan 2003:

Python Success Stories

6 Jan 2003:

Python’s package metadata repository

28 Dec 2002:

Python behind the scenes: Chandler and THE  also: #osaf

22 Nov 2002:

Too many new things  also: #quick-links #xml

26 Oct 2002:

Python discoveries  also: #perl

1 Oct 2002:

Python’s maturity  also: #java #programming-languages

13 Mar 2002:

Python: batteries included

These tags are related:

Didn't find what you were looking for? Search this site with Google.