delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/06/14:19:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
X-Spam-Score: -65.091
Message-ID: <4A01D4B7.7080807@sh.cvut.cz>
Date: Wed, 06 May 2009 20:19:35 +0200
From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <v DOT haisman AT sh DOT cvut DOT cz>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Pyhton script to call another program
References: <23408052 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <23408052.post@talk.nabble.com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

mcbenus wrote, On 6.5.2009 17:01:
> Hi,
> 
> I am trying to write a simple python script to manipulate files and call
> other programs.  I have a program installed (rocs) which I run using cygwin
> (but is not in python).  How can I run a python script and then call the
> other program? 
> 
> For example:
> Python Code  # this line opens a file
> Python Code  # this line splits the file into 4 different files
> rocs  # this line calls the program 'rocs' to run on the newly formed files
> Python Code # this line renames rocs output files and saves them in the
> right place. 
> 
> I am relatively new to python and don't know a lot about cygwin.  Please
> remember that if you try to answer me :) Thanks!
This is not really something you should ask here. Try some Python related
mailing list/news group/IRC channel.

--
VH


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019