Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console commands not working at all #23

Open
RealmAyres opened this issue Feb 5, 2024 · 1 comment
Open

Console commands not working at all #23

RealmAyres opened this issue Feb 5, 2024 · 1 comment
Labels
invalid This doesn't seem right

Comments

@RealmAyres
Copy link

RealmAyres commented Feb 5, 2024

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
image
image

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

@mrmaxguns
Copy link
Owner

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

@mrmaxguns mrmaxguns added the invalid This doesn't seem right label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants