Converting .py files to batch files.

Chris Rebert clp at rebertia.com
Mon Sep 15 14:30:06 EDT 2008


On Mon, Sep 15, 2008 at 10:30 AM, aditya shukla
<adityashukla1983 at gmail.com> wrote:
> How can we convert .py files to batch files? is there any library for this?

Unless your Python scripts are essentially just *really basic* shell
scripts that happen to be written in Python, then no, it's not even
possible, much less automated. Python and batch files are just too
vastly different: Python is a general-purpose programming language
with a large standard library; batch files are a castrated version of
bash.

Perhaps if you could explain why you would want to do this in the
first place, someone could suggest an alternative.

Regards,
Chris

>
>
> Aditya
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
Follow the path of the Iguana...
http://rebertia.com



More information about the Python-list mailing list