ESRI ArcPY-Python script conversion: Copy or Convert RTF file to txt/py file

Discussion created by ScottChang25 on Nov 5, 2012
Hi all,
In the HELP of ESRI ArcGIS 10.0, I see many examples of the long ArcPy-Python scritps in Rich Text Format (RTF) for me to use in doing ArcSDESQLExecute and geodatabase upgrades.  How can I copy or convert the RTF files to the .txt or .py files quickly?  Is it possible to use the RTF files directly in the Python Window of ArcGIS 10.0?  Can I copy the ESRI RTF file to the non-ESRI PythonWin?   Please kindly help and advise.
Thanks in advance,
Scott Chang