Re: TypeError: missing 1 required positional argument (word counter app)

2019-07-10 Thread drone4four
For what it is worth, here is some of the documentation I’ve been working with. I’ve referred to official Django docs for: - File uploads: https://docs.djangoproject.com/en/2.2/topics/http/file-uploads/ - Form handling with class-based views: https://docs.djangop

TypeError: missing 1 required positional argument (word counter app)

2019-07-10 Thread drone4four
I’ve got a Python script which counts and prints the number of words in a text file. The script runs beautifully. It takes a public domain book (a text file such as Alice and Wonderland) which then counts the top 10 most used words (but which also filters out stopwords). See here for some of