-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path1.html
More file actions
268 lines (205 loc) · 16.2 KB
/
1.html
File metadata and controls
268 lines (205 loc) · 16.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Python Programming</title>
<!-- Favicon -->
<link rel="icon" type="img/png" href="../favicon.png">
<!-- FONT AWESOME -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.13.1/css/all.css" integrity="sha384-xxzQGERXS00kBmZW/6qxqJPyxW3UR0BPsL4c8ILaIWXva5kFi7TxkIIaMiKtqV1Q" crossorigin="anonymous">
<!-- FONTS -->
<link href="https://fonts.googleapis.com/css2?family=Kalam:wght@700&family=Ubuntu&family=Varela+Round&display=swap" rel="stylesheet">
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!-- CSS -->
<link rel="stylesheet" href="../python_styles.css">
</head>
<body>
<!-- NAVIGATION BAR -->
<nav class="navbar fixed-top navbar-expand-xl navbar-dark">
<a class="navbar-brand" href="../index.html">CODEMISTIC</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="../index.html">Home</a>
</li>
<!-- <li class="nav-item">
<a class="nav-link" href="#features">Features</a>
</li> -->
<li class="nav-item">
<a class="nav-link" href="../tutorials.html">Tutorials<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="../campus.html">Campus Programme</a>
</li>
<!-- <li class="nav-item">
<a class="nav-link" href="https://docs.google.com/forms/d/e/1FAIpQLSc2O28YJpxQc6kh2tKpI_Lf5MwfwGXVnhMs0g5EEXobJ4Beeg/viewform?usp=sf_link" target="_blank">Contribute</a>
</li> -->
<li class="nav-item">
<a class="nav-link" href="../team.html">Our Team</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../register.html">Join Our Community</a>
</li>
</ul>
</div>
</nav>
<!-- HEADING -->
<br>
<section class="para">
<div class=" but ">
<button class="btn btn-md btn-primary "><a href="../python.html"><i class="fas fa-arrow-left "></i> Back to Index</a></button>
</div>
<div class="wrapper">
<h2>Python Introduction</h2>
<h2>What is Python?</h2>
<p>Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development,
as well as for use as a scripting or glue language to connect existing components together. Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and
packages, which encourages program modularity and code reuse. The 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.
<br>Often, programmers fall in love with Python because of the increased productivity it provides. Since there is no compilation step, the edit-test-debug cycle is incredibly fast. Debugging Python programs is easy: a bug or bad input
will never cause a segmentation fault. Instead, when the interpreter discovers an error, it raises an exception. When the program doesn't catch the exception, the interpreter prints a stack trace. A source level debugger allows inspection
of local and global variables, evaluation of arbitrary expressions, setting breakpoints, stepping through the code a line at a time, and so on. The debugger is written in Python itself, testifying to Python's introspective power. On the
other hand, often the quickest way to debug a program is to add a few print statements to the source: the fast edit-test-debug cycle makes this simple approach very effective.<br> Python is a popular programming language. It was created
by Guido van Rossum, and released in 1991.</p>
<h2>Who manages Python Today?</h2>
<p>From version 2.1 onwards, Python is managed by Python Software Foundation situated in Delaware, USA It is a non-profit organization devoted to the growth and enhancement of Python language. Their website is http://www.python.org .</p>
<h2>What can Python do?</h2>
<ul>
<li>Python can be used on a server to create web applications.</li>
<li>Python can be used alongside software to create workflows.</li>
<li>Python can connect to database systems. It can also read and modify files.</li>
<li>Python can be used to handle big data and perform complex mathematics.</li>
<li>Python can be used for rapid prototyping, or for production-ready software development.</li>
</ul>
<h2>Why Python?</h2>
Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc).<br> • Python has a simple syntax similar to the English language.<br> • Python has syntax that allows developers to write programs with fewer lines than some other
programming languages.
<br> • Python runs on an interpreter system, meaning that code can be executed as soon as it is written. This means that prototyping can be very quick.<br> • Python can be treated in a procedural way, an object-orientated way or a functional
way.
<br> There are numerous examples of popular, high-load websites/webapps that have been developed using Python. Here are some of the most popular of them:<br>
<ul>
<li>NASA</li>
<li>Instagram</li>
<li>Mozilla</li>
<li>Spotify</li>
<li>Reddit</li>
<li>Dropbox</li>
<li>And above all youtube</li>
</ul>
<h2>Features of Python</h2>
<ol>
<li>Simple</li>
Python is easy to use, powerful, and versatile, making it a great choice for beginners and experts alike. Python's readability makes it a great first programming language — it allows you to think like a programmer and not waste time with confusing syntax.
<li>Dynamically typed</li>
Python don't have any problem even if we don't declare the type of variable. It states the kind of variable in the runtime of the program. Python also take cares of the memory management which is crucial in programming. So, Python is a dynamically typed
language.
<li>Robust</li>
Python has very strict rules which every program must compulsorily follow and if these rules are violated then Python terminates the code by generating “Exception”
<li>Supports multiple programming paradigms</li>
It supports multiple programming paradigms, including structured (particularly, procedural), object-oriented, and functional programming. Python is often described as a "batteries included" language due to its comprehensive standard library. Python supports
both procedure-oriented and object-oriented programming which is one of the key python features.
<li>Compiled as well as interpreted</li>
In various books of python programming, it is mentioned that pythonlanguage is interpreted. But that is half correct the python program is first compiled and then interpreted. The compilation part is hidden from the programmer thus, many programmers believe
that it is an interpreted language. The compilation part is done first when we execute our code and this will generate byte code and internally this byte code gets converted by the python virtual machine(p.v.m) according to the underlying
platform(machine+operating system).
<li>Cross Platform</li>
Python is a cross-platform language: a Python program written on a Macintosh computer will run on a Linux system and vice versa. Python programs can run on Windows computer, as long as the Windows machine has the Python interpreter installed (most other
operating systems come with Python pre-installed).
<li>Extensible</li>
Python allows us to call C/C++/Java code from a Python code and thus we say it is an extensible language. We generally use this feature when we need a critical piece of code to run very fast . So we can code that part of our program in C or C++ and then
use it from our Python program
<li>Huge library</li>
The Python Standard Library is huge indeed. It can help you do various things like Database Programming , E-mailing ,GUI Programming etc
</ol>
<hr>
<h2>Python Download and Installation</h2>
<p>This document shows downloading and installing Python 3.8.3 on Windows 10 in Summer 2020. You should download and install the latest version of Python. The current latest (as of Summer 2020) is Python 3.8.3 <br>
<strong>Python: Version 3.8.3</strong> <br> The Python download requires about 25 Mb of disk space. When installed, Python requires about an additional 90 Mb of disk space.
</p>
<h2>Downloading</h2>
<ol>
<li>We can download Python from
<a href="https://www.python.org/downloads"> Python website</a>
</li>
<li>The website should automatically detect that we are using Windows, Linux/UNIX, Mac OS X or Other. Then Click on Download Python 3.8.3</li>
<li>The file named python-3.8.3.exe should start downloading into your standard download folder. This file is about 25 Mb so it might take a while to download fully if you are on a slow internet connection</li>
</ol>
<h2>Installing</h2>
<ol>
<li>Open the downloads folder and run the file python-3.8.3.exe by right clicking it and selecting run as administrator.</li>
<li>A Python 3.8.3 Setup pop-up window will appear.</li>
<li>Ensure that Add Python 3.8.3 to PATH checkboxes at the bottom are checked.</li>
<li>If the Python Installer finds an earlier version of Python installed on your computer, the Install Now message may instead appear as Upgrade Now (and the checkboxes will not appear).</li>
<li>A new Python 3.8.3 Setup pop-up window will appear with a setup progress message and a progress bar.</li>
<li>Once the installation is over you will get a SETUP WAS SUCCESSFUL message.</li>
<li>Click the Close button.</li>
<li>Python should now be installed.</li>
</ol>
<h2>Verifying</h2>
<ol>
<li>Open Command Prompt</li>
<li>Type the command python –version</li>
<li>In the output we should see the python version number as Python 3.8.3</li>
</ol>
<h2>IDE</h2>
<p>An integrated development environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development. PyCharm is one of the most widely used IDEs for Python programming language. PyCharm
is a cross-platform IDE that provides consistent experience on the Windows, macOS, and Linux operating systems. PyCharm is available in three editions: Professional, Community, and Edu. The Community and Edu editions are open-source projects
and they are free, but they have less features. PyCharm Edu provides courses and helps you learn programming with Python. The Professional edition is commercial, and provides an outstanding set of tools and features.</p>
<h2>Installing Pycharm</h2>
<ol>
<li>To download Pycharm visit
<a href="https://www.jetbrains.com/pycharm/download">Jetbrains website</a>
</li>
<li>Here you will observe two versions of package for Windows/Mac/Linux</li>
<li>Click the " DOWNLOAD " link under the Community Section.</li>
<li>Once the download is complete, run the exe for install PyCharm. The setup wizard should have started. Click “Next”.</li>
<li>Then mention your destination folder. Click “Next”.</li>
<li>On the next screen, you can create a desktop shortcut if you want and click on “Next”</li>
<li>Click on “Install”</li>
<li>Once installation finished, you should receive a message screen that PyCharm is installed. </li>
</ol>
</div> <br>
<div class="but text-right ">
<button class="btn btn-primary pull-right "><a href="2.html ">Next Topic <i class="fas fa-arrow-right "></i></a></button>
</div>
<br></section>
<center><br>
<h5>More Topics Uploading soon...</h5>
<hr>
<h7>Do you want to contribute by preparing content for us :</h7>
<div class=" but ">
<button class="btn btn-primary pull-right "><a href="https://docs.google.com/forms/d/e/1FAIpQLSc2O28YJpxQc6kh2tKpI_Lf5MwfwGXVnhMs0g5EEXobJ4Beeg/viewform?usp=sf_link " target="_blank ">Contribute</a></button>
</div>
</center>
<footer class="container-fluid ">
<h4>Made with <i style="color:red " class="fa fa-heart "></i> By - Team CodeMistic</h4>
<p class="foot ">© Copyright : Team CodeMistic</p>
<div class="footer-links ">
<h7>Connect With Us</h7><br><br>
<a href="https://www.facebook.com/codemistic " target="_blank "><i class="icons fa-2x fab fa-facebook "
style="color:#3b5998; "></i></a>
<a href="https://www.instagram.com/codemistic " target="_blank "><i class="icons fa-2x fab fa-instagram "
style="color:#e95950; "></i></a>
<a href="https://www.twitter.com/codemistic " target="_blank "><i class="icons fa-2x fab fa-twitter "
style="color:#8accf5; "></i></a>
<a href="https://www.linkedin.com/company/codemistic " target="_blank "><i class="icons fa-2x fab fa-linkedin "
style="color:#88b3ee; "></i></a>
<a href="https://t.me/codemistic " target="_blank "><i class="icons fa-2x fab fa-telegram "
style="color:#65adda; "></i></a>
<a href="https://www.youtube.com/channel/UCS1Iv_kkgQGDwoXtvrlwlag " target="_blank "><i
class="icons fa-2x fab fa-youtube " style="color:red; "></i></a>
</div>
</footer>
<!-- CSS Scripts -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js " integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj " crossorigin="anonymous "></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js " integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo " crossorigin="anonymous "></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js " integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI " crossorigin="anonymous "></script>
</body>
</html>
</html>
</html>
</html>