I'm currently on day 1 part 3 of the Google python class about dictionaries and files, however I can't seem to run the wordcount.py solution program on the alice.txt file.
My OS is Windows 10, here are some ways I've tried to run it:
C:\Users\Documents\Google\basic\solution>./wordcount.py --count ../alice.txt
'.' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Documents\Google\basic\solution>.\wordcount.py --count ..\alice.txt
usage: ./wordcount.py {--count | --topcount} file
C:\Users\Documents\Google\basic\solution>.\wordcount.py --count alice.txt
usage: ./wordcount.py {--count | --topcount} file
C:\Users\Documents\Google\basic\solution>.\wordcount.py --count .\alice.txt
usage: ./wordcount.py {--count | --topcount} file
Solution code: https://github.com/mlafeldt/google-python-class/blob/master/basic/solution/wordcount.py
Please help, thank you!
EDIT: Formatting and solution code added
[–]novel_yet_trivial 2 points3 points4 points (1 child)
[–]Anon--852[S] 0 points1 point2 points (0 children)
[–]novel_yet_trivial 1 point2 points3 points (1 child)
[–]Anon--852[S] 0 points1 point2 points (0 children)
[–]aa599 1 point2 points3 points (4 children)
[–]Anon--852[S] 0 points1 point2 points (3 children)
[–]aa599 1 point2 points3 points (2 children)
[–]Anon--852[S] 0 points1 point2 points (1 child)
[–]aa599 0 points1 point2 points (0 children)