You are on page 1of 23

Mahakal Institute of Technology

Department of Computer Science and Engineering

Internship-2 Presentation
On
"PYTHON" Presented By:
Deepak rathor
Universal Enrollment no.0704CS201048
Internship Coordinator Informatics Ajay Anjana
Prof. Vishal Gupta Enrollment no.0704CS201015
Maanvendra Singh Rajput
Enrollment no.0704CS201095
Content
 Introduction

 Objective of Internship Training

 Tools and Technology used in Training

 Overview of Training Work Undertaken

 Description & Screenshots for the tools learnt

 Conclusion

 Reference
Introduction
Python

* Python is an interpreted, object-oriented, high-level


programming language with dynamic semantics.
Python was developed by Guido Van Rossam in 1989 while working
at National Research Institute at Netherlands.
* But officially Python was made available to public in 1991.
* The official Date of Birth for Python is : Feb 20th 1991.
* Python interpreter and the extensive standard library are
available in source or binary form without charge for all major
platforms, and can be freely distributed.
Objective of Internship Training
.

The objectives of this internship are:


To understand why Python is a useful scripting language for developers.
To learn how to design and program Python applications.
To learn how to use lists, tuples, and dictionaries in Python programs.
To learn how to identify Python object types.
To learn how to use indexing and slicing to access data in Python programs.
To define the structure and components of a Python program.
To learn how to write loops and decision statements in Python.
To learn how to write functions and pass arguments in Python.
To learn how to build and package Python modules for reusability.
To learn how to read and write files in Python.
To learn how to design object‐oriented programs with Python classes.
To learn how to use class inheritance in Python for reusability.
Tools and Technology used in Training

1. HTML(Hyper Text Markup language)

2. CSS(Cascading Style Sheet)

3. Javascript

4. Bootstrap

5. Python

6. Django
HTML

The full name of HTML is Hyper Text Markup Language .


HTML was invented by Tim Berners Lee for the internet .
HTML is the easiest and most popular language of web
programs , usually simple text is included in the web page
created in it . We take the help of Hyper Text Markup
Language to create web pages , it has the ability to convert
normal text to Hypertext.
HTML
HTML - Hyper Text Markup Language

 Basic tags of HTML


<html> every web page starts with <html> tag and ends with </html> tag.

<head>
head:- whatever happens inside the head text is not displayed anywhere on
. the webpage. Title tags, style tags, script tags, link tags, meta tags, etc. inside .

the head tag.

<title>
whatever we type inside the title tag appears as the title of the page
</title>
</head>

<body>
body:- whatever we want to disply on the page we write on body tag
</body>

</html>
HTML
<html>
<head>
<title>Table</title>
</head>
<body>
<table border style=“border-spacing: 0”>
<tr>
<th colspan=“2”>Name</th>
<th colspan=“2”>Location</th>
</tr> Name Location
<tr>
<td> deepak</td>
deepak ajay harsh abhishek
<td> ajay</td> deepak ajay harsh abhishek
<td>harsh</td>
<td>abhishek</td>
</tr>
<tr>
<td> deepak</td>
<td> ajay</td>
<td>harsh</td>
<td>abhishek</td>
<tr>
</table>
</body>
</html>
CSS

CSS stands for cascading style sheets . CSS describes how


HTML elements are to be displayed on screen , paper , or in
other media .CSS is a language we use to style a web page .
CSS saves a lot of work . It can control the layout of the
multiple web pages all at once . External style sheets are
stored in CSS files . CSS is easy to learn and understood , also
it provides powerful control over the presentation of an
HTML document .
There are three types of CSS :
 Inline CSS
CSS: Cascading Style Sheet
 Internal or Embedded CSS
 External CSS  Internal or Embedded CSS  External CSS
This can be used when a single HTML document must be styled External CSS contains separate CSS file which
uniquely. The CSS rule set should be within the HTML file in the contains only style property with the help of tag
 Inline CSS head section i.e the CSS is embedded within the HTML file . attributes (For example class, id, heading, … etc).
Inline CSS contains the CSS property in the body CSS property written in a separate file with .css
section attached with element is known as inline CSS. <!DOCTYPE html> extension and should be linked to the HTML
This kind of style is specified within an HTML tag using <html> document using link tag. This means that for each
<head> element, style can be set only once and that will be
the style attribute. <title>Internal CSS</title>
<style> applied across web pages.
<!DOCTYPE html>
.main {
<html> text-align:center;
<head> }
body {
<title>Inline CSS</title> .GFG { background-color:powderblue;
color:#009900;
</head>
font-size:50px;
}
<body> font-weight:bold; .main {
<p style = "color:#009900; font-size:50px; } text-align:center;
font-style:italic; text-align:center;"> .geeks {
font-style:bold; }
GeeksForGeeks
</p>
font-size:20px; .GFG {
}
</body> </style> color:#009900;
</html> </head> font-size:50px;
<body>
<div class = "main"> font-weight:bold;
<div class ="GFG">GeeksForGeeks</div> }
<div class ="geeks">
A computer science portal for geeks
#geeks {
</div> font-style:bold;
</div>
</body>
font-size:20px;
</html> }
Javascript
JavaScript is a programming language commonly used in web development. It was originally
developed by Netscape as a means to add dynamic and interactive elements to websites.
While JavaScript is influenced by Java, the syntax is more similar to C and is based on
ECMAScript, a scripting language developed by Sun Microsystems.
JavaScript is a client-side scripting language, which means the source code is processed by the
client's web browser rather than on the web server. This means JavaScript functions can run
after a webpage has loaded without communicating with the server. For example, a JavaScript
function may check a web form before it is submitted to make sure all the required fields have
been filled out. The JavaScript code can produce an error message before any information is
actually transmitted to the server.
Like server-side scripting languages, such as PHP and ASP, JavaScript code can be inserted
anywhere within the HTML of a webpage. However, only the output of server-side code is
displayed in the HTML, while JavaScript code remains fully visible in the source of the
webpage. It can also be referenced in a separate .JS file, which may also be viewed in a
browser.
Bootstrap
Bootstrap, or bootstrapping, is a verb that comes from the saying, "to pull oneself up by his
bootstraps." The idiom implies a person is self sufficient, not requiring help from others.
Similarly, in the computing world, bootstrapping describes a process that automatically loads
and executes commands.
The most fundamental form of bootstrapping is the startup process that takes place when you
start up a computer. In fact, the term "boot," as in booting up a computer, comes from the
word bootstrap. When you turn on or restart a computer, it automatically loads a sequence of
commands that initializes the system, checks for hardware, and loads the operating system.
This process does not require any user input and is therefore considered a bootstrap process.
While bootstrapping is often associated with the system boot sequence, it can be used by
individual applications as well. For example, a program may automatically run a series of
commands when opened. These commands may process user settings, check for updates, and
load dynamic libraries, such as DLL files. They are considered bootstrap processes because they
run automatically as the program is starting up.
Description & Screenshots for the tools learnt
 <body>

  <header> This is header of the page </header>

  <h1>I love India</h1>
  <h2>I love India</h2>
  <h3>I love India</h3>
  <h4>I love India</h4>
  <h5>I love India</h5>
  <h6>I love India</h6>

  <address> 123 , AB Road , Indore , MP </
address> <br> <br>

  <nav>
  Visit <a href="https://www.google.com">google</a> | 
  Visit <a href="https://
www.facebook.com">facebook</a> | 
  Visit <a href="https://www.twitter.com">twitter</a>
  </nav>

  <br> <br>
  <footer> This is footer of the page </footer>    
 </body>
</html>
 <body>
    <div align ="center">
        <img src="illlitracy.jpg.jpg" height="300" width="300"
        alt="Structure Of HTML Doc" usemap="#mymap">
       </div>
     
       <map name="mymap">
        <area shape="rect" coords="0,0,100,100"
        href="https://www.google.com">
     
        <area shape="rect" coords="200,200,300,300"
        href="https://www.facebook.com">
     
        <area shape="circle" coords="186,136,60"
        href="https://www.twitter.com">
       </map>
  
 </body>
</html>
Program:- <body>
    <input type="password" name="upass" id
="upass" placeholder="user password here" 
    <form action="http:// maxlength="15">
          </td>
www.abc.com" method="post">          </tr>
        <table>          <tr>
         <tr>           <td>
           Enter Age
           <td> Enter Name  </td>           </td>
          <td>           <td>
<input type="text" name="uname" id=            <input type="number" name="uage" i
"uname" placeholder="user name her d="uage" max="60" min="18">
          </td>
e" maxlength="20"></td>          </tr>
</tr>      <tr>
 <tr>           <td>
           Enter DOB
          <td> Enter Email-ID </td>           </td>
          <td> <input type="email" name=           <td>
"uemail" id="uemail" placeholder="us            <input type="date" name="udate" id="
er email-id here" maxlength="15"> </ udate">
          </td>
td>          </tr>
 </tr>          <tr>
<tr>           <td>
           Enter Favorite Color
         <td> Enter Password </td>           </td>
         <td>           <td>
                             
PAGE-1
Select Your Education
 <input type="color" name="ucolor" id="ucolor">           </td>
          </td>           <td>
         </tr>            <select name="ued" id="ued">
         <tr>            <option value="ug"> Under Graduate </option>
          <td>            <option value="gd"> Graduate </option>  
           Select Gender            <option value="pg"> Post Graduate </option>
          </td>            </select>
          <td>           </td>
<input type="radio" name="ugen" id="ugen" value="m"> Male          </tr>
           <input type="radio" name="ugen" id="ugen" value="f"> Female          <tr>
           <input type="radio" name="ugen" id="ugen" value="o"> Other           <td>
          </td>            Select Your Address
         </tr>           </td>
     <tr>           <td>
          <td>            <textarea id="uddr" name="uaddr" rows="5" cols="30">
           Select What You Have?            </textarea>
          </td>           </td>
          <td>          </tr>
           <input type="checkbox" name="ucar" id="ucar" value="c"> Car       <tr>
           <input type="checkbox" name="uhouse" id="uhouse" value="h"           <td>
> House            <input type="submit" value="Create Account" name="usub" id="usub"> 
           <input type="checkbox" name="umob" id="umob" value="mo">           </td>
 Mobile           <td>
          </td>            <input type="reset" value="Clear">
         </tr>           </td>
         <tr>          </tr>  
          <td>         </table>
                   </form>
      </body>
PAGE-2     
THE OUTPUT OF THE FOLLOWING CODE:
Python
Overview of Training Work Undertaken
Conclusion

Conclusion
Reference
?

You might also like