Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
8 views
Unit 1 – Introduction and Syntax of Python
Python chapter 1 notes handwritten
Uploaded by
Samiksha Bhosale
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Unit 1 – Introduction and Syntax of Python For Later
Download
Save
Save Unit 1 – Introduction and Syntax of Python For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
8 views
Unit 1 – Introduction and Syntax of Python
Python chapter 1 notes handwritten
Uploaded by
Samiksha Bhosale
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Unit 1 – Introduction and Syntax of Python For Later
Carousel Previous
Carousel Next
Save
Save Unit 1 – Introduction and Syntax of Python For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 11
Search
Fullscreen
Unit *- Ttheduction S syntax of Python <= . = — 8h ~eythn was invented in \aeg by Guido Yon Rossum ot CWO ( Century W iskunde & tif rmertioa > m the Netherland s » Amsterdam. . Aplications of pythons. : Y Civait side jAasheriy ee 2) Gloss 4 —s)Ayudin 2 Gabe nage (32S sities pageemelg a Web. develapment —17}Desktap application | ee 5} Software development 3 cation a —$) Mathematics —14) Game development | | —_— 7) Systena Scripting __g] AL, Multimedia | ——+_Featunes of Python = ee S 2) GUT “programm $$$ ____ —x-2y-High level pro age a Be Lah e ‘poled! Th —— ov 5 asd +o “code g vead J 7 6) on [ Platfoyen aia [cx0ss— ptm 4 >. Object oriented la. . e 2). “Inten preted fang guage . 7 ay €asy to learn so ~ E 10} ets mo f NY Extensible. 11) Gee & open source. ' : fe« Editers _in Python :~ ymoLe (a ated development language environment) ~~ geainnest) . ay PyCharm (Sotlwane develaper) 3} SP dey (sciemist) ah pier _C-Qraphinl puspose) E Compiler! Compiles the so! 2 ints the format 2 7 known —a byte cade. “E+ canverts saurce code int byte code 2 it 4 Sad into aE PVM (Python virtual machine) ee QVM. Pym is the vun sme engi of pythons it suns the SCaP+ } Python isan imexpreten_based language thexefare LE is _slowen than compiled based language 2) Tt_uses_.many layers te._communicate uaih 0.5 11s— ~ computer handadare. SS apae | 3) Python memory consumption is -also_high —— — “| Shacture st python. progam ets a | eee $$ a4 | ___Documentetion Section : a. | cncludes. comments _+hat specifies purpase 1 an aoe exe cutahle etatement 2 | it of the Progvam .cemment is_a_nan- { Imeoch ctatement i Import section is | “used_for_diffevert built-in 3 usen = defined | a e Pe clei eee oer ce 4 | :Thisused te | ee iables fix _pragaam. eee eee ae Class_sechion : Descvibes the infaymation _ about the usen define classes in -the_ progam. __ re ee Be class is collection of dato member 2memben —_ ee ee | Pla glound section : th is the main | Geckeon of python p¥eg2am b the main _ “section ctont whene the function callindicotes thatthe shell_is_veady to_inkexacting — | commends . accept Sn4erachive, “Commands - G2 print Hello eager ss ello cae | = Tdentfen is _aname—gj vento a function , class, —— - variable, module aad —— ~~ = Exi-myclass _, emp— asta: -conti Exec assert | break | sass, def det else elif | Excep : - oy From ox. pass_ pxint | raise oy while | with yield = oa — = A wnniable “js like a condainey thet stuves_valyes ! : variable = wclue _ = — le Ee: 22> x =10 = Eee =F eee ee ee Be gee ye eee j=» 10 5 _ ~A_\iteval refers to the fixed value that directly appears in the progiam.. | String Wterals :~ at a “hello”, “12345” — Th litevals .- - _ o-10 ~ long litevals + $9L2B349— Float literals. © [ | a4 |— complex Ittevals i : aj — Booleon \itevals. 7 ; true/false \- Special \trevals-°~ _—- none__—_—— — Unicode. literals. :« — “pelle $$ List eka = er r—rs j= Tuple literals t=— ET = | (C94, 359 oy) = Dick. —Nidenials =< $$ tp ft} t program +o [=x p77 for iin wang O11) oo 1) Singleline feria! ty Mali line coment os = x This is first python progvam” ae| { GoodLuck [parts | a “Fact types \s 0 type of data — —_-waniable s_ | \dernfiers - values stored in SN umbens — _—3List= oo Ee. FTuple_— ardered_ _sequence of | fem ee a £. Boolean = 2 String, 1 re prents. text _chanacter, aaa a ial_dota toad programmer, = es reer menge +i tepresnted a Sen from list — k ~§Tiekionany £3. Represents the colle etian of E __-data associdted —caith unigue keys uaith _ Hts value. oon Boolean -- represents. srwth values (true /fatse’)| iy arteqens neg — te Sp Dp Mts S + | Number bert hig, Flow point Inumben,_3.14, 25, 5 4) Complex number * 1o8R , DHEAj,caathTs + String ! te String sa collection | of group of characters. (aly “ sonw” ). : = oe in| examples ——__________—_—— x = “hello” +! python” title find vinden | x. find cy)» %+ ind —— , \nderly rar yrinden nw. aaindl y) ,% aes 5 { cot worth x. stavtwith cy) endwith x. endarith cy)ee qeclace . replace LysaD ) LY ee | ship, xship,\ship- - strip ©) — | €n~code__ . encode (" were) ——Aaeesing dhe H a == “as fe. 4)) 35> 5 = “Haile python”! —-feeunule oe See ane colon value > i = ones I S+> Ss Fira] —> sett > (gaa on! 4 5 C 1:5} —> ' ello! | Shon pagan) = “a is? EO l= s. split (5.1) _ oS} = yt Python’ ‘Y *ptegnammning.|., lis’ y "easy ‘Jfl | Gost urk [ sot om : bese meee) es) Loe “ python programming is easy’ | ooy>s-= c J join) —» tpgthen’ J ‘prognaraming ) a , “is : easy ye = S#! Join (OD —o \ python! te+ “programming “yyy fi First_= Cie, 20-30} ———— 8 dyz-second d= Gane!) eno sbree oa ~ 1 ‘Red’ ,2,"yello Joo! | —______— i tis !ffteay 3) first (2110 | >>> frst C2] —— > 30 : Gast C2] = 50 —> Cia, 20,501 -— 1 | >> fist Coa => 50 i 5 oH ag e = "python" yy 1_=_jist CP) 4 | 5 Ge 4’ te to! int a) GA >p>-a_= (Ciel, tabe’, ties’) \S a fo) — 10 ‘a _(Cob20—> Exrov (Gerace ! Diction = an. -uncnlened_callection. af — key —— i | Value pairs .[ome ~ dh - oi a YS did = {i Fivst', 2: second} —___ YS dich yy diet [3] = ‘ third”
You might also like
Xtream IPTV Activation Code 2025
PDF
71% (65)
Xtream IPTV Activation Code 2025
18 pages
The Kama Sutra in 200 Positions
PDF
84% (114)
The Kama Sutra in 200 Positions
215 pages
Jouissance Club Livre
PDF
100% (5)
Jouissance Club Livre
258 pages
The Complete French Conjugation Course - Cover
PDF
100% (6)
The Complete French Conjugation Course - Cover
447 pages
DUNOD DCG 2 Droit Des Sociétés
PDF
94% (16)
DUNOD DCG 2 Droit Des Sociétés
497 pages
Vocabulaire Progressif Du Français Corrigés
PDF
100% (11)
Vocabulaire Progressif Du Français Corrigés
65 pages
200 Common French Verbs
PDF
80% (10)
200 Common French Verbs
3 pages
Complete French (Learn French With Teach Yourself)
PDF
92% (65)
Complete French (Learn French With Teach Yourself)
509 pages
Collins Easy Learning French Grammar (Gnv64)
PDF
97% (58)
Collins Easy Learning French Grammar (Gnv64)
162 pages
Easy French Step-by-Step PDF
PDF
100% (23)
Easy French Step-by-Step PDF
399 pages
Colloquial French - The Complete Course For Beginners (Colloquial Series) PDF
PDF
100% (12)
Colloquial French - The Complete Course For Beginners (Colloquial Series) PDF
287 pages
The Perfect French Self Study Guide
PDF
100% (5)
The Perfect French Self Study Guide
22 pages
Advanced French Grammar PDF
PDF
97% (35)
Advanced French Grammar PDF
717 pages
Vocabulaire Progressif Du Francais Debutant Complet 2015
PDF
97% (34)
Vocabulaire Progressif Du Francais Debutant Complet 2015
114 pages
Le Petit Prince
PDF
100% (16)
Le Petit Prince
57 pages
French Grammar Basic
PDF
60% (10)
French Grammar Basic
16 pages
Short Stories FR Intermediate PDF
PDF
100% (7)
Short Stories FR Intermediate PDF
185 pages
365 Days of French Expressions Without Audio
PDF
100% (3)
365 Days of French Expressions Without Audio
237 pages
French Made Simple
PDF
93% (14)
French Made Simple
196 pages
French Foundations Master The Basics in Two Weeks (Olly Richards)
PDF
100% (7)
French Foundations Master The Basics in Two Weeks (Olly Richards)
155 pages
French Workbook
PDF
100% (10)
French Workbook
288 pages
A Definitive Guide To French Verbs
PDF
86% (7)
A Definitive Guide To French Verbs
106 pages
Le Français en Images
PDF
92% (12)
Le Français en Images
86 pages
Infinitive: Simple Past
PDF
100% (14)
Infinitive: Simple Past
4 pages
233 Complete French Grammer - Sample
PDF
82% (11)
233 Complete French Grammer - Sample
20 pages
Python Notes
PDF
No ratings yet
Python Notes
32 pages
Python GTU Study Material E-Notes Unit-1 12012021081509AM
PDF
100% (1)
Python GTU Study Material E-Notes Unit-1 12012021081509AM
29 pages
Python Handwritten Notes - 1 To 2
PDF
No ratings yet
Python Handwritten Notes - 1 To 2
36 pages
1.introduction To PYTHON
PDF
No ratings yet
1.introduction To PYTHON
11 pages
Python Part1
PDF
No ratings yet
Python Part1
243 pages
Programming With Python PWP Tech Publication Textbook
PDF
0% (1)
Programming With Python PWP Tech Publication Textbook
40 pages
Module 4 - Python
PDF
No ratings yet
Module 4 - Python
64 pages
Python For Data Science (Slideshare)
PDF
No ratings yet
Python For Data Science (Slideshare)
54 pages
Python Sonal
PDF
No ratings yet
Python Sonal
127 pages
Language.: Ge1105 Problem Solving and Python Programming Unit - 2
PDF
No ratings yet
Language.: Ge1105 Problem Solving and Python Programming Unit - 2
23 pages
Python Program CHP 1
PDF
No ratings yet
Python Program CHP 1
14 pages
python file
PDF
No ratings yet
python file
30 pages
1696675027246
PDF
No ratings yet
1696675027246
77 pages
CamScanner 12-13-2024 13.44
PDF
No ratings yet
CamScanner 12-13-2024 13.44
25 pages
Python
PDF
No ratings yet
Python
61 pages
Python Notes
PDF
No ratings yet
Python Notes
10 pages
Python NOTES Unit-4
PDF
No ratings yet
Python NOTES Unit-4
163 pages
Introduction Python Operators
PDF
No ratings yet
Introduction Python Operators
59 pages
SLIDES 1 Escp - Python - Ds - 2020
PDF
100% (1)
SLIDES 1 Escp - Python - Ds - 2020
50 pages
Python
PDF
No ratings yet
Python
232 pages
Complete Python Notes by Kaushal.p
PDF
No ratings yet
Complete Python Notes by Kaushal.p
77 pages
python unit 1
PDF
No ratings yet
python unit 1
17 pages
Case Study New 1
PDF
No ratings yet
Case Study New 1
36 pages
Python 01
PDF
No ratings yet
Python 01
38 pages
Chapter 2 - Introduction To Python
PDF
No ratings yet
Chapter 2 - Introduction To Python
44 pages
Basic Python Chapter1
PDF
No ratings yet
Basic Python Chapter1
56 pages
Python Programming
PDF
No ratings yet
Python Programming
121 pages
Python Programming Notes
PDF
No ratings yet
Python Programming Notes
33 pages
Ai ML Notes
PDF
No ratings yet
Ai ML Notes
18 pages
The Python Book
PDF
No ratings yet
The Python Book
182 pages
unit 1
PDF
No ratings yet
unit 1
25 pages
Book Template
PDF
No ratings yet
Book Template
53 pages
Learn Python
PDF
No ratings yet
Learn Python
299 pages
Python
PDF
No ratings yet
Python
299 pages
JNTUA Python Programming & Data Science Notes - R20
PDF
No ratings yet
JNTUA Python Programming & Data Science Notes - R20
183 pages
Python
PDF
No ratings yet
Python
90 pages
Python Complete Notes
PDF
No ratings yet
Python Complete Notes
72 pages
Lecture - 01 - Intro to Python
PDF
No ratings yet
Lecture - 01 - Intro to Python
32 pages
Complete Python Handwritten Notes 1695805594
PDF
No ratings yet
Complete Python Handwritten Notes 1695805594
77 pages
Python Notes Second Semester BVOC Computer Application
PDF
No ratings yet
Python Notes Second Semester BVOC Computer Application
27 pages
PFSD
PDF
No ratings yet
PFSD
55 pages
Python Unit 1
PDF
No ratings yet
Python Unit 1
48 pages
2 Basics of Python
PDF
No ratings yet
2 Basics of Python
37 pages
Full Speed Python PDF
PDF
No ratings yet
Full Speed Python PDF
39 pages
Unit-1-1 Python
PDF
No ratings yet
Unit-1-1 Python
11 pages
python m 1, 2.pdf
PDF
No ratings yet
python m 1, 2.pdf
12 pages
Python
PDF
No ratings yet
Python
168 pages
Unit 2 Python
PDF
No ratings yet
Unit 2 Python
13 pages
Python Presentation
PDF
100% (1)
Python Presentation
71 pages
LEC_1_INTRODUCTION TO PYTHON.pptx
PDF
No ratings yet
LEC_1_INTRODUCTION TO PYTHON.pptx
87 pages
Introduction To Python: 6th School On LHC Physics
PDF
No ratings yet
Introduction To Python: 6th School On LHC Physics
24 pages
Fiot r18 III Umalwara
PDF
No ratings yet
Fiot r18 III Umalwara
51 pages
Phython Reviewer Python
PDF
No ratings yet
Phython Reviewer Python
15 pages
Programming Fundamentals: Lecturer XXX
PDF
No ratings yet
Programming Fundamentals: Lecturer XXX
30 pages
Basics of Python
PDF
No ratings yet
Basics of Python
32 pages
Intro to Python
PDF
No ratings yet
Intro to Python
44 pages
Basic Python
PDF
No ratings yet
Basic Python
113 pages
Hxdatk73ldaffpyimzr Btvzuhmhuabimcxyjfdywhwzbv x26ioytyoi6bih7q4fdk8ppvlcbfhfzk0o7gzyta5nl 6mptmn Tyw5ehbp Go9u4le6wqhaslsdf1lxrsmfsm 0l3toekgz Lbsatmk579leukw5hqtibsvaydq7te1hvhii8vgurgzfiadcqedinwqsnb4xip0a3btn2
PDF
No ratings yet
Hxdatk73ldaffpyimzr Btvzuhmhuabimcxyjfdywhwzbv x26ioytyoi6bih7q4fdk8ppvlcbfhfzk0o7gzyta5nl 6mptmn Tyw5ehbp Go9u4le6wqhaslsdf1lxrsmfsm 0l3toekgz Lbsatmk579leukw5hqtibsvaydq7te1hvhii8vgurgzfiadcqedinwqsnb4xip0a3btn2
83 pages
Curs 1
PDF
No ratings yet
Curs 1
44 pages
PWP Question Bank Class Test 2
PDF
No ratings yet
PWP Question Bank Class Test 2
1 page
pr11
PDF
No ratings yet
pr11
3 pages
self assessment test
PDF
No ratings yet
self assessment test
2 pages
Practical No 31
PDF
No ratings yet
Practical No 31
2 pages
PHP_Ch_1
PDF
No ratings yet
PHP_Ch_1
52 pages
Practical No 32
PDF
No ratings yet
Practical No 32
2 pages
Practical 14.4
PDF
No ratings yet
Practical 14.4
6 pages
Assignment No-3
PDF
No ratings yet
Assignment No-3
2 pages
Chapter-2 PWP
PDF
No ratings yet
Chapter-2 PWP
17 pages
5name
PDF
No ratings yet
5name
4 pages
pr4
PDF
No ratings yet
pr4
3 pages
Experiment No 18
PDF
No ratings yet
Experiment No 18
4 pages
C'est-A-Dire - Advanced French Conversation PDF
PDF
100% (10)
C'est-A-Dire - Advanced French Conversation PDF
316 pages
Colloquial French Grammar
PDF
95% (19)
Colloquial French Grammar
257 pages
French Grammar
PDF
100% (33)
French Grammar
368 pages
Language Hacking French (Learn How To Speak French Book)
PDF
100% (7)
Language Hacking French (Learn How To Speak French Book)
622 pages
Easy French - 2 Books in 1 French Language + Short Stories For Beginners. A Complete Step-By-step Guide To Learn and Speak French Quick and Easy Starting From Zero
PDF
100% (3)
Easy French - 2 Books in 1 French Language + Short Stories For Beginners. A Complete Step-By-step Guide To Learn and Speak French Quick and Easy Starting From Zero
230 pages