Hi Jason, Thanks for your response.
First, I guess that the Python Window of my ArcGIS 10.0 (after the >>>, typing Import arcpy, Import os, ...) is the interactive mode of IDLE. Am I right in this guessing or not? Secod, I saw "Python Shell" in my 2 books. But, I don't know how I can get the "Python Shell" started from the Python Window of my ArcGIS 10.0 !!??
I checked the 2 Python books I have and I saw they mention (1) interactive mode of IDLE and (2) script mode of IDLE in the regular Python programming. But in the Python Window of my ArcGIS 10.0, I don't know how to rewrite my script as a Python script tool or to try using IDLE like (1) or (2). Please kindly help, tell me how to do the things you suggested, and respond again.
Thanks,
Scott Chang
P. S. I have Python version 2.5 in my PC for long time. But I have not used it at all. Is Python version 2.5 still good to do "Lists", etc.?