Category: Python

49 posts · Page 3
Python
2015-03-02 10:46 (11 years ago)
Disable Links in docutils' rst Writer (docutils.writers.html4css1)

Couldn't find the configuration item, so I'll use a monkey patch.

Python
2014-03-20 23:30 (12 years ago)
Add Environment Variables When You Encounter the Error "pip install pillow → error: command 'cc' failed with exit status 1"

When running `pip install pillow`, you might encounter the following error:

Python
2014-01-29 10:41 (12 years ago)
A Script to Batch Rename Multiple Files Using an Editor

When you start the program, a list of files is displayed in the editor. You can modify and save the list.

Python
2013-11-18 02:41 (13 years ago)
Comparing Logger Implementations Using Generators and Classes

I wanted to write a logger-like class and wondered, "Which would be more readable, using a generator or a class?" So I wrote and compared both.

Python
2011-12-29 03:04 (14 years ago)
Resolving Readline Errors When Running iPython

When I switched to MacOS Lion and was setting up my environment, I encountered the following error when running iPython:

Python
2011-06-10 17:02 (15 years ago)
Clipboard Input and Output

I'm not very confident about the GTK part

Python
2011-06-09 08:37 (15 years ago)
Using TokyoTyrant as a Model-like TokyoTyrantStorage

# -*- coding: utf-8 -*-

Python
2011-06-07 16:23 (15 years ago)
Convert RFC2822 Date Format to Python's datetime

# -*- coding: utf-8 -*-

Python
2011-06-03 16:34 (15 years ago)
memoized_property

```python