Answers for "python interpreter after running a python file"

0

python interpreter after running a python file

| foo.py |
----------
testvar = 10

def bar(bing):
  return bing*3

--------



$ python -i foo.py
>>> testvar 
10
>>> bar(6)
18
Posted by: Guest on April-26-2022

Python Answers by Framework

Browse Popular Code Answers by Language