Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

executing a python script interactively

python -i <script.py> <args>
# 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.
 
PREVIOUS NEXT
Tagged: #executing #python #script #interactively
ADD COMMENT
Topic
Name
2+4 =