Python Cheat Sheet, Syntax Quick Reference Handbook, by Table and Chart : Syntax Quick Study Guide 2340000001, 1680100739, 1680112942

About This Book This book covers all basic Python syntaxes ( 400 examples, 400 outputs, 400 explanations ). We can quick

131 35 933KB

English Pages 212 Year 2023

Report DMCA / Copyright

DOWNLOAD EPUB FILE

Table of contents :
Syntax Chart
# symbol syntax:
* symbol syntax:
** symbol syntax:
+ symbol syntax:
symbol syntax:
>>> symbol syntax:
''' symbol syntax:
""" symbol syntax:
__del__() syntax:
__format__() syntax:
__import__() syntax:
__init__() syntax:
__len__() syntax:
__main__ syntax:
__missing_ () syntax:
__new__() syntax:
__repr__() syntax:
__str__() syntax:
abs() syntax:
access() syntax:
add() syntax:
all() syntax:
and syntax:
any() syntax:
append text syntax:
append() syntax:
appendleft() syntax:
as syntax:
ascii() syntax:
assert() syntax:
bin() syntax:
bool() syntax:
break syntax:
bytearray() syntax:
bytes() syntax:
calendar syntax:
callable() syntax:
capitalize() syntax:
casefold() syntax:
casting syntax:
ceil() syntax:
center() syntax:
chain() syntax:
character syntax:
character syntax:
chdir() syntax:
chr() syntax:
class syntax:
class BaseClass syntax:
clear() syntax:
close() syntax:
command prompt syntax:
comment syntax:
compile() syntax:
compile() syntax:
complex() syntax:
compress() syntax:
connect lists syntax:
connect string syntax:
continue syntax:
convert data type syntax:
copy() syntax:
count() syntax:
count() syntax:
ctime() syntax:
cycle() syntax:
date() syntax:
datetime() syntax:
decode() syntax:
def function( ) syntax:
def function(arguments) syntax:
del syntax:
delattr() syntax:
def main()syntax:
deque() syntax:
dict() syntax:
dictionary syntax:
dictionary clear() syntax:
dictionary copy() syntax:
dictionary fromkeys() syntax:
dictionary get() syntax:
dictionary items() syntax:
dictionary keys() syntax:
dictionary pop() syntax:
dictionary popitem() syntax:
dictionary setdefault() syntax:
dictionary update() syntax:
dictionary values() syntax:
difference() syntax:
difference_update() syntax:
dir() syntax:
discard() syntax:
divmod() syntax:
double quotes syntax:
dumps() syntax:
elements() syntax:
elif syntax:
else syntax:
encode() syntax:
endwith() syntax:
enumerate() syntax:
environment variable syntax:
environment variable syntax:
evel() syntax:
except syntax:
exception syntax:
exec() syntax:
expandtabs() syntax:
extend() syntax:
file.close() syntax:
fileno() syntax:
filter() syntax:
finally syntax:
find() syntax:
findall() syntax:
finditer() syntax:
float() syntax:
floor() syntax:
flush() syntax:
for syntax:
for…in tuple syntax:
for var in range(n1, n2) syntax:
format() syntax:
format() syntax:
format printing syntax:
from file import* syntax:
from module import * syntax:
fromkeys() syntax:
frozenset() syntax:
function syntax:
function with argument syntax:
get() syntax:
getattr() syntax:
getcwd() syntax:
global syntax:
globals() function syntax
hasattr() syntax
hash() syntax:
help() syntax:
header syntax:
hex() syntax:
http syntax:
id() syntax:
if syntax:
if syntax:
if-elif syntax:
if / else syntax:
import file syntax:
import calendar syntax:
import module syntax:
import os syntax:
import re syntax:
import smtplib syntax:
import time syntax:
import webbrowser syntax:
in syntax:
index syntax:
index1 : index2 syntax:
index() syntax:
inherit syntax:
input syntax:
insert() syntax:
int() syntax
intersection() syntax:
intersection_update() syntax:
is syntax:
is_alive() syntax:
isalnum() syntax:
isalpha() syntax:
isascii() syntax:
isatty() syntax:
isdecimal() syntax:
isdigit() syntax:
isdisjoint() syntax:
isidentifier() syntax:
isinstance() syntax:
islower() syntax:
isnumeric() syntax:
isoformat() syntax:
isprintable() syntax:
isspace() syntax:
issubclass() syntax:
issubset() syntax:
issuperset() syntax:
istitle() syntax:
isupper() syntax:
items() syntax:
iter() syntax:
join() syntax:
join() syntax:
json.dumps() syntax:
json.loads() syntax:
keys() syntax:
lambda syntax:
len() syntax:
link() syntax:
list syntax:
list syntax:
list append() syntax:
list clear() syntax:
list copy() syntax:
list count() syntax:
list extend() syntax:
list index() syntax:
list insert() syntax:
list pop() syntax:
list remove() syntax:
list reverse() syntax:
list sort() syntax:
list() syntax:
listdir syntax:
ljust() syntax:
json.loads() syntax:
locals() syntax:
localtime syntax:
lower() syntax:
lstrip() syntax:
main() syntax:
maketrans() syntax:
map() syntax:
match() syntax:
match() syntax:
math.acos() syntax:
math.asin() syntax:
math.atan() syntax:
math.ceil() syntax:
math.copysign() syntax:
math.cos() syntax:
math.degrees() syntax:
math.e syntax:
math.exp() syntax:
math.fabs() syntax:
math.factorial() syntax:
math.floor( ) syntax:
math.fmod() syntax:
math.frexp() syntax:
math.fsum() syntax:
math.gcd() syntax:
math.inf syntax:
math.isclose() syntax:
math.isfinite() syntax:
math.isinf() syntax:
math.isnan() syntax:
math.isqrt() syntax:
math.lcm() syntax:
math.ldexp() syntax:
math.log() syntax:
math.log2() syntax:
math.log10() syntax:
math.max( ) syntax:
math.min( ) syntax:
math.modf() syntax:
math.nan syntax:
math.pi syntax:
math.pow( ) syntax:
math.prod() syntax:
math.radians() syntax:
math.remainder() syntax:
math.sin() syntax:
math.sqrt( ) syntax:
math.tan() syntax:
math.tau syntax:
math.trunc() syntax:
max() syntax:
memoryview() syntax:
min() syntax:
mkdir() syntax:
module syntax:
next() syntax:
None syntax:
nonlocal syntax:
not syntax:
not in syntax:
now() syntax:
object creating syntax:
object() syntax:
oct() syntax:
open(“fileName”, “a”) syntax:
open(“fileName”, “r”) syntax:
open(“fileName”, “w”) syntax:
or syntax:
ord() syntax:
os.chdir() syntax:
os.getcwd syntax:
os.listdir syntax:
overriding syntax:
partition() syntax:
pass syntax:
pattern syntax:
pattern.match(string) syntax:
polymorphism syntax:
pop() syntax:
pop() syntax:
popleft() syntax:
popitem() syntax:
pow() syntax:
print() format syntax:
print() syntax:
product() syntax:
property() syntax:
raise syntax:
range syntax:
range syntax:
randrange() syntax:
read() syntax:
readable() syntax:
readline() syntax:
readlines() syntax:
reload() syntax:
remove() syntax:
remove() syntax:
rename() syntax:
repeat symbol syntax:
repeat() syntax:
replace() syntax:
repr() syntax:
return syntax:
reverse() syntax:
reversed() syntax:
rfind() syntax:
rindex() syntax:
rjust() syntax:
rmdir() syntax:
rotate() syntax:
round() syntax:
rpartition() syntax:
rsplit() syntax:
rstrip() syntax:
run() syntax:
search() syntax:
seek() syntax:
seekable() syntax:
sendmail() syntax:
separator.join() syntax:
set environment variable syntax:
set syntax:
set add() syntax:
set clear()
set copy() syntax:
set difference() syntax:
set difference_update() syntax:
set discard() syntax:
set intersection() syntax:
set intersection_update() syntax:
set isdisjoint() syntax:
set issubset() syntax:
set issuperset() syntax:
set pop() syntax:
set remove() syntax:
set symmetric_difference() syntax:
set symmetric_difference_update() syntax:
set union() syntax:
set update() syntax:
set() syntax:
setattr() syntax:
set-cookie syntax:
setdefault() syntax:
single quotes syntax:
sleep() syntax:
slice() syntax:
slicing syntax:
smtp syntax:
smtp.sendmail() syntax:
socket() syntax:
sort() syntax:
sorted() syntax:
split() syntax:
splitlines() syntax:
sqrt() syntax:
start() syntax:
startswith() syntax:
staticmethod() syntax:
str() syntax:
strftime() syntax:
str.swapcase() syntax:
str.zfill(length) syntax:
string[index] syntax:
string[index1: index2] syntax:
strip() syntax:
sub() syntax:
substring syntax:
sum() syntax:
super() syntax:
swapcase() syntax:
symmetric_difference() syntax:
symmetric_difference_update() syntax:
tee() syntax:
tell() syntax:
thread creating syntax:
thread daemon syntax:
thread name syntax:
time() syntax:
timedelta() syntax:
timestamp() syntax:
timezone() syntax:
today() syntax:
today() syntax:
translate() syntax:
truncate() syntax:
try - except syntax:
try - except - else syntax:
tuple creating syntax:
tuple count() syntax:
tuple index() syntax:
tuple len() syntax:
tuple() syntax:
type() syntax:
union() syntax:
unlink() syntax:
unpack collection syntax:
update() syntax:
update() syntax:
upper() syntax:
utcnow() syntax:
values() syntax:
variable assignment syntax:
variable delete syntax:
vars() syntax:
webbrowser syntax:
weekday() syntax:
while loop syntax:
with syntax:
write() syntax:
writable() syntax:
writelines() syntax:
yield syntax:
zfill() syntax:
zip() syntax:
Appendix
Python Keywords Chart
Data Types Chart
Arithmetic Operator Chart
Assignment Operators Chart
Comparison Operators Chart
Logical Operators Chart
Logical Results Chart
Bitwise Operators
Convert Data Type Chart
Escape Characters Chart
Operators Precedence Chart
Format String Chart
List Functions Chart
Dictionary Functions Chart
Tuple Functions Chart
Set Functions Chart
Collection Difference Chart
Regular Expressions Chart
Operation Strings Chart
Strftime Format Chart
Exceptions Chart
Is Functions Chart
Html Functions Chart
Built-in Functions Chart
String Methods Chart
File Methods Chart
File Opening Mode Chart
Math Methods Chart
Math Properties Chart
Date Functions Chart
Time Functions Chart
Datetime Functions Chart
Random Methods Chart
Statistics Methods Chart
Requests Methods Chart
cMath Methods Chart
cMath Properties Chart
Thread Property & Method Chart
Threading Methods Chart
Paperback Books by Ray Yao

Python Cheat Sheet, Syntax Quick Reference Handbook, by Table and Chart : Syntax Quick Study Guide
 2340000001, 1680100739, 1680112942

  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up
Recommend Papers