rust-pype
Python one-liner helper written in Rust.
Install
Usage
stdin is opened as f.
Prepare sample1 file.
-e option
Execute specified python code.
| |
| |
-n option
Execute specified python code per line. You can access via line variable to each line.
| |
| |
-l option
Available when -n is specified. Removes trailing newlines from the input and adds newlines to print.
| |
| |
-m option
Import specified module before executing python code.
| |
License
Apache License 2.0