Connecting Tech Pros Worldwide Forums | Help | Site Map

Wishful thinking : unix to windows script?

John Leslie
Guest
 
Posts: n/a
#1: Jul 18 '05
Or does anyone have a python script which takes a standard unix
command as an argument and runs the pyton/windows equivalent on
windows?

Steve Holden
Guest
 
Posts: n/a
#2: Jul 18 '05

re: Wishful thinking : unix to windows script?


John Leslie wrote:[color=blue]
> Or does anyone have a python script which takes a standard unix
> command as an argument and runs the pyton/windows equivalent on
> windows?[/color]

This would seem to be a request of overkill of the worst kind, given the
existing availability of tools like Cygwin (www.cygwin.com) and, more
recently, CoLinux (www.colinux.org).

Why do it in Python when it's better done already?

regards
Steve
--
Meet the Python developers and your c.l.py favorites March 23-25
Come to PyCon DC 2005 http://www.pycon.org/
Steve Holden http://www.holdenweb.com/
Patrick Useldinger
Guest
 
Posts: n/a
#3: Jul 18 '05

re: Wishful thinking : unix to windows script?


John Leslie wrote:
[color=blue]
> Or does anyone have a python script which takes a standard unix
> command as an argument and runs the pyton/windows equivalent on
> windows?[/color]

There's not always an equivalent command.

-pu
Grant Edwards
Guest
 
Posts: n/a
#4: Jul 18 '05

re: Wishful thinking : unix to windows script?


On 2005-03-04, Patrick Useldinger <pu.news.001@gmail.com> wrote:[color=blue]
> John Leslie wrote:
>[color=green]
>> Or does anyone have a python script which takes a standard unix
>> command as an argument and runs the pyton/windows equivalent on
>> windows?[/color]
>
> There's not always an equivalent command.[/color]

If you install cygwin there almost always is.

--
Grant Edwards grante Yow! What I need is a
at MATURE RELATIONSHIP with a
visi.com FLOPPY DISK...
Steven Bethard
Guest
 
Posts: n/a
#5: Jul 18 '05

re: Wishful thinking : unix to windows script?


Grant Edwards wrote:[color=blue]
> On 2005-03-04, Patrick Useldinger <pu.news.001@gmail.com> wrote:
>[color=green]
>>John Leslie wrote:
>>
>>[color=darkred]
>>>Or does anyone have a python script which takes a standard unix
>>>command as an argument and runs the pyton/windows equivalent on
>>>windows?[/color]
>>
>>There's not always an equivalent command.[/color]
>
>
> If you install cygwin there almost always is.
>[/color]

Also worth mentioning: GnuWin32

http://gnuwin32.sourceforge.net/

Especially useful if you just want a few specific tools (and not an
entire OS).

STeVe
Patrick Useldinger
Guest
 
Posts: n/a
#6: Jul 18 '05

re: Wishful thinking : unix to windows script?


Grant Edwards wrote:
[color=blue]
> If you install cygwin there almost always is.[/color]

If you install cygwin there's no need for what the OP describes.

-pu
Max Erickson
Guest
 
Posts: n/a
#7: Jul 18 '05

re: Wishful thinking : unix to windows script?


you might also want to take a look at
http://unxutils.sourceforge.net/
where are the tools are available in a single zip file.

max

Closed Thread