Type Meaning
'e' Exponent notation. Prints the number in scientific notation using the letter ‘e’ to indicate the exponent.
'E' Exponent notation. Same as 'e' except it uses an upper case ‘E’ as the separator character.
'f' Fixed point. Displays the number as a fixed-point number.
'F' Fixed point. Same as 'f'.
'g' General format. This prints the number as a fixed-point number, unless the number is too large, in which case it switches to 'e' exponent notation. Infinity and NaN values are formatted as inf, -inf and nan, respectively.
'G' General format. Same as 'g' except switches to 'E' if the number gets to large. The representations of infinity and NaN are uppercased, too.
'n' Number. This is the same as 'g', except that it uses the current locale setting to insert the appropriate number separator characters.
'%' Percentage. Multiplies the number by 100 and displays in fixed ('f') format, followed by a percent sign.
None The same as 'g'.

整形仕様〈Python 3.0 版〉

Type Meaning
b バイナリー書式(2進数)で出力します。
c 文字(整数を変換して対応する unicode 文字を得る)を出力します。
d 10進数で出力します。
o 8進数で出力します。
x 16進数(小文字を使って)で出力します。
X 16進数(大文字を使って)で出力します。
n 10進数(区切り文字を含めた書式)で出力します。

文字列の変換指令〈Python 2.x 版〉

変換指令には、記号「%」に続けて次のものを指定できます。

Type Meaning
c 文字(整数を変換して対応する unicode 文字を得る)を出力します。
d 10進数で出力します。
o 8進数で出力します。
x 16進数(小文字を使って)で出力します。
X 16進数(大文字を使って)で出力します。
def ex():
    for e in "cdoxX":
        s = "'%%%s'%%78"%e
        print(">>>",s)
        print(eval(s))

% python2.6 -i ex.py
>>> ex()
>>> '%c'%78
N
>>> '%d'%78
78
>>> '%o'%78
116
>>> '%x'%78
4e
>>> '%X'%78
4E

文字 'N' に対応する文字コード 78 が、各変換指令に従って出力されるのが分かります。