Just copied and pasted the command used in the very first example of pysox manual: https://pythonhosted.org/pysox/reference.html
import pysox nullfile = pysox