[Tutor] trouble using 2to3.py

ALAN GAULD alan.gauld at btinternet.com
Wed Nov 4 20:32:35 CET 2009



> > Yes, but I was talking about the DOS help utility not the Python one...
>
> Lots of info there, but for a .bat beginner it's hard to put it
> together. I've put a couple of old books  on batch files on hold at my
> local library, and also found the XP Command-line reference A-Z at
> <http://technet.microsoft.com/en-us/library/bb490890.aspx>. Any
> suggestions?


You can do some pretty clever stuff with BAT files but frankly I wouldn't bother.
Python can do almost all of the same things more elegantly and in most 
cases faster using fewer resources.

Trying out a few loops and if/else type statements and writing a couple 
of test files may be an interesting diversion for an evening but the only 
real use of BAT files nowadays is to run a sequence of command 
line tools in one go. For anything else, use Python.

Alan G.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20091104/9e599f5e/attachment.htm>


More information about the Tutor mailing list