ComfyUI Node
PyList: Slice
Slice a PyList with Python-style start:end semantics and keep it as a PyList output.
PyList: Slice
- PYLIST
- PYLIST
◄start0►
◄end0►
Categorylist_utils
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| PYLIST | PYLIST | Connect the PyList to slice. | |
| start | INT | 0-9007199254740992–9007199254740992 | Slice start index, matching Python list[start:end]. |
| end | INT | 0-9007199254740992–9007199254740992 | Slice end index. The item at this index is not included. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| PYLIST | PYLIST | The sliced PyList. |