2006-08-02 ■ python python お決まりのπとe import math math.pi math.e 複素数を使うときのパッケージ・モジュール import cmath cmath.pi cmath.e e^-π=1は、とりあえずこんな感じ? cmath.exp(-1J*cmath.pi)