Skip to content

Commit 324f83b

Browse files
committed
updated readme
1 parent 85e44d4 commit 324f83b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ Creates an instance of `PythonShell` and starts the Python process
129129
* `text`: each line of data (ending with "\n") is emitted as a message (default)
130130
* `json`: each line of data (ending with "\n") is parsed as JSON and emitted as a message
131131
* `binary`: data is streamed as-is through `stdout` and `stdin`
132+
* `parser`: each line of data (ending with "\n") is parsed with this customer parser (overrides `mode`)
132133
* `pythonPath`: The path where to locate the "python" executable. Default: "python"
133134
* `pythonOptions`: Array of option switches to pass to "python"
134135
* `scriptPath`: The default path where to look for scripts. Default: "./python"

0 commit comments

Comments
 (0)