psychomario/PyPXE — pull request #34 by mmattioli (2014-07-12 15:42:50+00:00)
Title: 'argparse' Module Handling

Proposal
---
If the user does not have the ‘argparse’ module installed then `server.py` will exit and display an error message. Without the module, `server.py` will not take in command line arguments properly. This only affects users using older than Python 2.7 because as of 2.7 it is maintained in the standard library. The documentation (`README.md` and `DOCUMENTATION.md`) as well as `server.py` were updated to reflect this.

Reasoning
---
Since the majority of Python users will have 2.7 and those who don't need only install a single module that is in the standard library I think it's safe to simply exit cleanly and tell them specifically what module to install. A simple Google search for 'install argparse module' yields [this result](http://stackoverflow.com/questions/15330175/how-can-i-get-argparse-in-python-2-6) as number two and is one of several extremely easy methods to install the 'argparse' module. User eas-of-use is only minorly affected by this.

Other Notes
---
Corrected some minor quote inconsistencies and whitespace issues.