Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.36 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.36 KB

wordcount project

Overview

This code is a word counter created with Django.

Features

  • 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.

Installation

Prerequisites

  • Python 3.x
  • Django 2.x.x

Setup

First, you need to install Django with the following command.

% pip3 intall django==2.2.0

Usage

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. スクリーンショット 2024-04-11 20 56 54

Outcome

When you put an English sentence in the input box, the number of words and which words are in the box will be returned.

スクリーンショット 2024-04-11 21 22 40

References

site #1, Django 2.2 & Python | The Ultimate Web Development Bootcamp, Nick Walter(2020), Udemy.