[python-win32] Running a script
Jim.Vickroy@noaa.gov
Jim.Vickroy at noaa.gov
Tue Sep 20 00:40:17 CEST 2005
Hello Roger,
Assuming your Python installation is viable (does typing "python" sans
quotes at the command line launch the Python interpreter?), have you
renamed the file from "rtf2xml" to "rtf2xml.py" as required to run
under MS Windows?
-- jv
-------------- next part --------------
Hello
Windows XP SP2.
I am a Python novice. I downloaded an application called rtf2xml that
converts RTF files to XML. I have Python 2.4 installed, and updated my
path to include c:\python24. The application has the following folder
structure:
rtf2xml-1.2 (contains setup.py, which I have installed using the python
setup.py install command)
rtf2xml (contains a bunch of .py files)
scripts (contains rtf2xml.py and a test file called
hello_world.rtf)
The documentation says that I should be in the command prompt window and
simply type:
rtf2xml hello_world.rtf
I've tried this but I get various errors, such as:
rtf2xml is not recognized as an internal or external command...
python: can't open file...[errno 13] permission denied
Please can someone tell me (i) what directory I have to be in, and (ii)
what the command line should be? I tried from various folders, with and
without "python" in front, but nothing works.
Thanks.
roger
Roger Shuttleworth
Documentation Team Lead
Activplant Corporation
140 Fullarton Street, 9th Floor
London, ON N6A 5P2 Canada
Tel. 519 668-7336
Fax. 519 668-3227
www.activplant.com <http://www.activplant.com/>
-------------------------------------------------------
The information in this email is confidential and is
intended solely for the addressee. Access to this email
by anyone else is unauthorized.
If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to
be taken in reliance on it, is prohibited and may be
unlawful. Please contact privacy at activplant.com for
cases where you have received this email and were not
the intended recipient.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20050919/ccff7479/attachment.html
-------------- next part --------------
_______________________________________________
Python-win32 mailing list
Python-win32 at python.org
http://mail.python.org/mailman/listinfo/python-win32
More information about the Python-win32
mailing list