I'm not sure what to use in PyArg_ParseTuple in 3K. I'm passing in bytes which may contain NUL characters. Using 's#' doesn't really work, because it erroneously accepts Unicode strings. Bill