📜  以交互方式执行 python 脚本 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:48.194000             🧑  作者: Mango

代码示例1
python -i  
# This will first execute the script.py file, then run the interactive
# python interpreter (or python REPL).
# This would enable the user to reuse the functions and objects defined
# in script.py.