You are on page 1of 18

INDUSTRIAL PRESENTATION

ON
PYTHON WITH DJANGO

NAME - HRITUPARNA SAHA


ROLL NO. - 22
I HAVE COMPLETED MY
INTERNSHIP FROM
ABOUT THE GYANVRIKSH PVT.
INTERNSHIP LTD.
(HYDERABAD)
What is Python?

Python is a high-level programming language


Open source and community driven “Batteries Included” a
standard distribution includes many modules Dynamic typed
Source can be compiled or run just-in-time Similar.
Interpreted
You run the program straight from the source code.
Python program Bytecode a platforms native
language
You can just copy over your code to another system and
it will auto-magically work! *with python platform
Object-Oriented
Simple and additionally supports procedural
programming
Extensible – easily import other code
Embeddable –easily place your code in non-python
programs
Extensive libraries
(i.e. reg. expressions, doc generation, CGI, ftp, web
browsers, ZIP, WAV, cryptography, etc...) (wxPython,
Twisted, Python Imaging library)
Working in Jupyter Notebook

interpreter
Python
Anaconda
On your own computer after installing a Jupyter Python platform
notebook server
With an online notebook server like cocalc.com
Save notebook with output and use a notebook viewer
Export to HTML, PDF, LATEX, etc.
A single document that combines explanations with
executable code and its output — an ideal way to notebook server
provide: localhost:8888

reproducible research results


documentation of processes instructions tutorials and
training materials of all shapes and sizes Jupyter kernel
for Python
A digital learning environment
for computational thinking
WORKING WITH
DJANGO

Data base with the advantage of using


object oriented programme allow for
efficient datastorage and retreival.
Python allows for cleaner and more
readable code.
Automatic admin interface offers the
functionality of adding,editing and
deleting items within a database in a
graphical userfriendly way.
Flexible template language that provide
a way to retrieve dat and display it on a
wepage in its desire formate.
URL design is elegant and easy to
read.
ABOUT DJANGO
Each app has its own data and webpages associated with it – called models and views, respectively
Example: a poll that lets users vote on questions
Views (different webpages):
Page with questions + choices (actual voting page)
Statistics page that shows past result
Models (data):
Poll questions
Choices associated with each question
The actual voting data! (set of selected choices)
When you create an app, Django makes a folder, appname/ in your project directory
contains, among some other files: contains, among some other files:
models.py
views.py
urls.py (will be discussed later)
The app looks like a package (ex., polls.view, polls.models, etc.)
Block Diagram of Django Circuit
OOPS CONCEPT IN
PYTHON
• Object
• Class
• Method
• Inheritance
• Polymorphism
• Data Abstraction
• Encapsulation
ABOUT VISUAL STUDIO CODE
• Visual Studio Code (VS Code) is a free open source code editor for development and debugging modern cloud and
web applications which is available for free on Linux, OS X and Windows. VS Code supports more than 30
different programming, markup and database languages, some of which are JavaScript, C#, C++, PHP, Java,
HTML, R, CSS, SQL, Markdown, TypeScript, Less, Sass, JSON, XML and Python.
• The lightning fast editor does not only satisfy developers with integrated debugging (including ASP.NET 5 and
Node.js applications): Even Git support is available by the push of a button. Numerous Keyboard Shortcuts take
care of your productivity at work.
• In contradiction to Visual Studio 2015 and its predecessors, Visual Studio Code does not work with project files, but
with files and folders. The environment can flexibly be enriched through the use of
• Extensions that remain independent from the underlying operating system. Code genuinely qualifies as the perfect
addition to the preferred development tools.
• Thanks to the integrated update functionality, Visual Studio Code is always up-to-date. Monthly update cycles
reflect a dynamic advancement that is being driven in parallel for all supported platforms. And for Visual Studio
Code Insiders, there is even a feature preview edition available that can safely and securely coexist with the
regular build on the same machine.
VISUAL STUDIO CODE
OUTPUT OF THE CODE(ADMIN PAGE)
THANK YOU

You might also like