PyLex
PyLex copied to clipboard
EOL syntax error from JSON
I've been playing with the homophones() function and the API data does not copy correctly for URL. For example when I run.
lex = Lex("pop")
wordlist = lex.homophones()
print(lex)
lex.display_wordlist(wordlist, len(wordlist))
the output is as follows.
<script.Lex object at 0x024E0370>
EOL while scanning string literal (
I've visited the webpage and there are four words, I'm just raising awareness. Sorry if the formatting is incorrect this is my first comment.