Try this, assuming you're in IDLE. http://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro/index.html You can enter as many lines as you want in the interpreter. Then press ENTER twice to get the result. Or try here if you're looking for some tutorials. http://tinyurl.com/w7wgp rd