.. ot-exercise:: python.exercises.legacy.wc :dependencies: python.exercises.legacy.python_0350_exercises, python.basics.python_0500_files, python.basics.python_0139_commandline_argv .. include:: Exercise: Counting Lines, Words, Characters =========================================== .. contents:: :local: Write a program ``wc.py`` that takes a filename from the commandline and counts * Lines * Words * Characters and then outputs the gathered statistics to ``stdout`` Dependencies ------------ .. ot-graph:: :entries: python.exercises.legacy.wc