Console commands not working at all
Describe the bug Console commands not working corrections
To Reproduce Install using pip Run in python command line Gets error
Expected behavior wonderwords -v expected to display "Running wonderwords version 2.0.0a1"
Screenshots
Desktop (please complete the following information):
- OS: Windows
- Browser: Firefox
- Version: 122.0
Additional context Also doesn't run in code using RandomSentence(), sentence() or any other
Wonderwords provides two separate interfaces: a console interface and a Python interface.
The console interface, which includes things such as -v and -l is meant to be run in a terminal. I don't know Windows well, but I think you would use CMD for that. Note that this is not valid Python syntax, so when you tried to run those commands in a Python interpreter, there was an error.
The python interface is stuff like:
from wonderwords import RandomWord
r = RandomWord()
Try that. It shouldn't give you errors. Hope that helps