On 23/02/2012 16:46, Dave Angel wrote:
I'm not running Windows any more (except in a VirtualBox), but your
batch files could be improved:
Since you only have the one useful line in the batch file, just put
the @ on that line; no need to turn off echo for the whole file, when
the file is one line.
And i forget whether it's %* or %$ but there is a substitution
string you can use to mean "all the arguments", rather than just
taking one. Remember that sometimes people want to run python with
multiple arguments.
I also made a "bat" directory, and added it to the PATH. Then you put
both those batch files, plus some others, into the bat directory.
That assumes you'll keep finding more utilities you'd like to add to
the path.
No biggie, just trying to help. There are more complicated changes
that I used to do, which I won't mention here.
--
DaveA
Hey, these are very neat ideas (especially the "bat" folder and the
arguments point) .. Thank you !
--
~Jugurtha Hadjar,
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor