PYTHON FULL STACK
DEVELOPMENT
(Over-view)
Short-notes
Comments
Comments are basically two types :
They are : single line comment & multilined comments.
Variables
Def: variable is a container , which will stores the value..
There are set of rules to be followed :
1)Use letters , start with underscore ,don’t use
numbers initially, types of cases , they are :
2)My name: snake case
3)my Name : camel case
4)MyName : pascel case
5) Case sensitive
Data types
'''variable is a container which will stores a value
so values are in types which we call as a datatypes
there are 1) intergers ; which are whole numbers.
2)float ; in digits like 1.5 etc..
3)boolean ; 0 is false and 1 is true.
4)string ; ex: ' " & 3 dots codes.
5)complex ; which is a+ib form.
6)list ; [1,2,3,4,5] closed brackets.
9)tuple ; (1,2,3,4,5) open [Link] paranthesis.
10)set or dictionary ; {1,2,3,4,5}
11)frozen set ;
12)none ;
'''
Conditional statements
#conditional statements or decision statements..
#if
#else ; no condition to this
#elif; give the condition
#nested if ; which is if in a if condition ..
#looping statements
#for ; range [1,2,3]
#while ; true or false. output is infinite ......
#nested loop; if in a if condition.
#jumping statements
#pass; ignore the particular statement for a while .
#continue; skip the iteration
#break; break the iteration .
LIST AND LIST METHODS
List is a data type ,which will stores the data
in all data types of formate in python.
List comprehension : It is the process of code
reducibility ,which helps multiple lines of
code into single line code execution .
There are some of the methods in list data
type.
SYNTAX OF LIST-- [Link]()
Methods:
append()
extend()
count()
insert()
pop()
remove()
index()
copy()
clear()
sort()
reverse()
String in python.
String is a collection of characters using of three
modes of codes : They are,
’ ‘ which is single [Link] code never permits
single apostropy.
“ “ which is double code,EX: “PYTHON’S”
‘’’ ‘’’which is triple [Link]: use to write multiple
scripts.
String methods :
Dictionary & Tuple in python.
Set, set methods , set operations, in python.
And frozen set
String List Tuple Dictionar Set Common
y
Count() append() Tuple has clear() add() Copy() &
endswith() extend() no copy() remove() Clear() &
startswith() count() methods, get() pop() Pop() are in
find() insert() It follows keys() clear() dic,set,list.
formate() pop() some values() copy()
index() remove() operations. items() update()
isalpha() index() Which are pop() Remove() in
isalnum() copy() called update() set,list.
isnumeric() clear() build-in
join() sort() functions . Update() in
lower() reverse() EX :max() dict,set.
upper() min()
strip() sum() Index() in
lstrip() len() str,list.
rstrip() id()
replace()
split()
rsplit()
tittle()
Total methods of datatypes in python.
File handling and error handling.
OPPS(OBJECT ORIENTED PROGRAMMING LANGUAGE)