KataTrainReservation
KataTrainReservation copied to clipboard
add windows batch to start services
Emily, here are the two batch scripts for the Python services. Unfortunately they are on top of my code done during the workshop. Please ignore all changes but the latest one called "add windows batch to start services". If that causes too much trouble I can create another branch and cherry pick it there to create a clean pull request - if necessary. Thank you, great workshop at XP.
Thanks for this! I'm going to do some work on this kata and I'll pick out your changes as part of that. I may not get around to it for a while though, am going on my summer holidays ...
I'm having some trouble getting these services to work, and I'm sure if I knew more about Python, it would be obvious what's wrong. I'm on Windows 7 running Python 3.3.2 and CherryPy 3.2.4. When I run "py train_data_service.py", I get:
File "train_data_service.py", line 46
print help_text
^
SyntaxError: invalid syntax
When I run "py booking_reference_service.py", I get an analogous error on line 41. Any idea what might be the matter?
@neontapir you need to use Python 2.x as indicated by the readme.
Thanks, @codecop, I was able to get it working under Python 2.7.
Outdated and contains solution, too.