def tmpfile ( prefix , direc ) : return tempfile . mktemp ( prefix = prefix , suffix = '.pdb' , dir = direc )
create temporary directory in python with a specific name
Returns the path to a newly created temporary file .
def tmpfile(prefix, direc):
    """Returns the path to a newly created temporary file."""
    return tempfile.mktemp(prefix=prefix, suffix='.pdb', dir=direc)