Is it possible to display the result in command prompt if I run the python code is python GUI editor?
I mean, I have a program
def sum(a,b):
result = a+b
print "The sum = %d." %result
sum(2,3)
Once I run this code, I'm able to get the answer in the Python Shell window
The sum = 5.
What my question was, is it possible for me to get the result in windows command prompt instead of getting the result in Python Shell window.
Thanks in advance!