这个功能如果写成shell脚本是这样,求python实现
#!/bin/sh
echo "Running shell script"
while read LINE; do
echo ${LINE}
done
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
python里有个内置函数:input,在python的2.x版本里叫raw_input。