This code is a word counter created with Django.
- Created an application using Django's MCV framework.
- This is the simple word counter that returns the number of letters and words when you enter an English sentence in the box.
- Python 3.x
- Django 2.x.x
First, you need to install Django with the following command.
% pip3 intall django==2.2.0
Click on the <> Code
button and download the file by selecting Download ZIP. Once the download is completed, open the downloaded file in your IDE such as PyCharm.
Execute the command below, the development server will start.
% python3 manage.py runserver
Then, you can click http://127.0.0.1:8000/ to visit in your browser. The input screen, as shown below, will appear.
When you put an English sentence in the input box, the number of words and which words are in the box will be returned.
site #1, Django 2.2 & Python | The Ultimate Web Development Bootcamp, Nick Walter(2020), Udemy.