In a 64-bit system with 32 bit python 2.7 installed I am trying to do the following:
import subprocess p = subprocess.call(\'dir\', shell=True) print p
use Shell= True, It's working for me.