You are on page 1of 5

 

Chapter“- 1 
Introduction to Python &
Django

Django
What we can do with Python?
It is a popular and widely used programming language which is on the top now a
days. It was created in late 1991 by Guido van Rossum who is now working in
google.
This can be used for the following things:

 Web development (server-side),


 Software development,
 Mathematical and Analytical solutions,
 System scripting,
 Machine learning and AI development.
 It can be used on a server to create web applications.
 It can be used alongside software to create workflows.
 It can connect to database systems. It can also read and modify files
(CRUD).
 It can be used to handle big data and perform complex mathematics.
 It can be used for rapid prototyping, there by production-ready
software development.

Django
Steps to Install Python
 https://www.python.org/ftp/python/3.6.4/python-3.6.4.exe

 Click on Run, you will see something


 By default, the Add Python 3.6 to PATH option is unchecked, make sure it is
checked then click on Install

 variables -> environment variables -> add new path to it, which must be the
python installation path.

working with python,


 Python shell
 Python idle
Django
Introduction to Django
Django is python based web framework which allow you to quickly create responsive
websites.
Advantages of using Django?

 It’s very easy to switch database in Django framework.


 It has built in admin interface which makes easy to work with it.
 Django is fully functional framework that requires nothing else.
 It has thousands of additional packages available.
 It is very scalable.

Django
Installation of Django
• c:>> pip install django==2.1.3 or 1.11
• (now it start to collect packages for django)

To start the project


• django-admin startproject projectname

To start a new app in the project,

• Python manage.py startapp appname

Django

You might also like