![]() |
![]() |
![]() |
![]() |
![]() |
Once Python installed, you can invoke the python interpreter
by typing 'python'. The python prompt
'>>>' will appear.
C:\>python >>> |
>>> a = 3 >>> b = 4 >>> a + b 7 >>> |
a = 3 b = 4 print a +b |
sumthreefour.py and invoke the script at the command
prompt with python sumthreefour.py.
C:\>python sumthreefour.py 7 C:\> |
C:\>python -i sumthreefour.py 7 >>> |
>>> a 7 >>> |