Posted By  pckujawa on 07/22/12   python windows batch shovel
Versions (?)  Getting shovel to work in windows so python
methods can be run like individual executables   / Published in:
Python  I had hear about a method to run a method like an
executable, with the arguments being passed in from the
commandline. Apparently, Ruby has this with the Rake project.
Well, Python has it with Shovel. Only the instructions didn't
work for me on windows, so I had to create a batch script to
call shovel correctly.  So here's my setup. I installed shovel
using easy_install shovel, which placed it in my python scripts
folder (C:\Python27\Scripts, which is in my PATH). I created
'shovel.bat' (see source) in the same folder. So now I can call
shovel from anywhere and it will call my batch file, passing the
parameters into shovel.  For completeness, here is my working
directory structure (note the subfolder called shovel):  │
song log.log │   Untitled_10.mp3 │   Untitled_11.mp3 │
Untitled_2.mp3 │   Untitled_3.mp3 │   Unti