Re: Using python to runother programs
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: Using python to runother programs

From: Terry Reedy <tjreedy@udel.edu>
Date: Sat Jul 23 2005 - 07:54:03 CEST

<adityabhambri@yahoo.com> wrote in message
news:1122054694.450950.216900@g44g2000cwa.googlegroups.com...
> HI guys,
> I am trying to automate some project work which the accounting dept
> of the company uses. They have to go through multiple steps to achieve
> the final goal. Is there some way that I can use python to automate
> these manual steps. I can give you an example.
>
> 1. run the crystal report using some ***.excel file
>
> 2. Store the output as *.txt file.
>
> 3. use accounting software and use the *.txt file (this step can be
> excluded)
>
> I don't know how to use python to run the crystal report and save the
> output as an txt file using python scripts. Is this even possible?

Maybe. Details depend on your OS, which you neglected to mention ;-)
Lookup os.system. There may also be a new module in 2.4 that is relevant
(I forget name). If you are on Windows, PyWin gives you more options.

tjr
Received on Thu Sep 29 17:07:07 2005