Python笔记(基础)

目录

1、print

2、数学

3、自变量

4、while循环

5、for循环

6、if条件

7、def函数

8、全局&局部变量

9、文件读写

10、类class

11、input

12、元组 

13、列表 

14、字典

15、import模块

16、错误处理try

17、zip & lambda & map

18、copy


 


 1、print

print(1)                               # 1

print('we are going to do something')  # we are going to do something

print("we're going to do something")   # we're going to do something
print("we\'re going to do something")  # we're going to do something


print('apple'+'car')                   #applecar
print('apple'+str(4))                  #apple4

print(1+2)                             # 3
print(int('1')+2)                      # 3
print(float('1.2')+2)                  # 3.2

2、数学

+ - * /

**   2**2=4

%  8%2=0

//   9//3=3

3、自变量

命名规则 

apple_egg      APPLE_EGG     appleEgg

定义

a = 1
b = 2
c = 3

a,b,c = 1,2,3

4、while循环

condition = 1
while condition < 10:
    print(condition)
    condition = condition +1
#相当于while(1)
while True:
    print("I'm True")

注意:while结尾处的“:” 有“:”后光标会调到下行会自动缩进

中断循环

 注意下面的程序中要退出需要ctrl+c,否则一直在循环中,没法运行下一个程序

a = True

while a:
    b = input('type something')
    if b=='1':
        a = False
    else:
        pass
    print('still in while')
    
print('finish run')

-------------------------------
type something2
still in while

type something1
still in while
finish run
while True:
    b = input('type something')
    if b=='1':
        break
    else:
        pass
    print('still in while')
    
print('finish run')

---------------------------------
type something2
still in while

type something1
finish run
while True:
    b = input('type something')
    if b=='1':
        continue
    else:
        pass
    print('still in while')
    
print('finish run')

------------------------------

type something2
still in while

type something1

type something2
still in while

type something

 

5、for循环

example_list=[1,2,3,4,5,6,7,8,9,10]
for i in example_list:
    print(i)
    print("outer of for")
print("outer of for")
for i in range(1,10):
    print(i)

注意:range是1,2,3,4,5,6,7,8,9

小技巧: ctrl+[  可以将选中部分前的缩进消除,一同对齐,然后在Tab

 

6、if条件

常用符号  <   <=   >   >=   ==   !=   可以连着比较大小 

x,y,z = 1,2,3
if x<y<z:
    print('true')
x,y,z = 1,2,1
if x<y>z:
    print('true')
if x>y:
    print('x is greater than y')
else:
    print('x is  less or  equal than y')

if else 

if x>1:
    print('x > 1')
elif x<1:
    print('x < 1')
else:
    print('x = 1')

if elif else

先满足先跳出

x = -2
if x>1:
    print('x > 1')
elif x<-1:
    print('x < -1')
elif x<1:
    print('x < 1')
else:
    print('x = 1')
print('finish running') 

---------结果-----------
x < -1
finish running

7、def函数

1、定义

def function():
    print('This is a function')
    a=1+2
    print(a)

2、调用

def function():
    print('This is a function')
    a=1+2
    print(a)

function()

3、参数

def fun(a,b):
    c=a*b
    print('the c is',c)

fun(2,3)

4、默认参数

无默认参数

def sale_car(price,color,brand,is_second_hand):
    print('price',price,
          'color',color,
          'brand',brand,
          'is_second_hand',is_second_hand)

sale_car(100,'red','carmy',True)

---------------------------------------------------
price 100 color red brand carmy is_second_hand True

 

有默认参数

def sale_car(price,color='red',brand='carmy',is_second_hand=True):
    print('price',price,
          'color',color,
          'brand',brand,
          'is_second_hand',is_second_hand)

sale_car(100)
sale_car(123,color='bule')


-----------------------------------------------------------------

price 100 color red brand carmy is_second_hand True
price 123 color bule brand carmy is_second_hand True

注意情况:输入参数时要注意与默认参数的顺序匹配,这个等具体用的再说。

5、return

def fun():
    a = 10
    print(a)
    return a+100

fun()
print(fun())

---------------------
10
110

8、全局&局部变量

全局变量全部一般大写

#没有将a定义为全局变量
APPLE = 100
a = None

def fun():
   a = 20
   return a+100

print('a past=',a)
print(fun())
print('a now=',a)

----------------------
a past= None
120
a now= None

#将a定义为全局变量 global a(global a = 20会报错)
APPLE = 100
a = None

def fun():
    global a
    a = 20
    return a+100

print('a past=',a)
print(fun())
print('a now=',a)

----------------------
a past= None
120
a now= 20

9、文件读写

text = 'This is my first test.\nThis is next line.\nThis is last line.'

my_file=open('my file1.txt','w')
my_file.write(text)
my_file.close()

append_text = '\nThis is appended line'

my_file=open('my file1.txt','a')
my_file.write(append_text)
my_file.close()

注意:文件打开后要关闭(close),否则文件是空白的

file = open('my file1.txt','r')
content = file.readline()
second_read_time = file.readline()
print(content,second_read_time)

---------------------------------
This is my first test.
 This is next line.

readline是逐行读,readlines是存到list中

file = open('my file1.txt','r')
content = file.readlines()
print(content)

-------------------------------------------------------------------------------------------------------
['This is my first test.\n', 'This is next line.\n', 'This is last line.\n', 'This is appended line']

10、类class

class Calculator:
    name = 'Good calculator'
    price = 18

    def add(self,x,y):
        print(self.name)
        print(x+y)
    def minius(self,x,y):
        print(x-y)
    def times(self,x,y):
        print(x*y)
    def divide(self,x,y):
        print(x/y)

calcul = Calculator()
print(calcul.price)
calcul.add(1,2)
calcul.minius(2,4)
calcul.times(3,2)
calcul.divide(8,2)
------------------------------
18
Good calculator
3
-2
6
4.0

注意:self不要漏

 

init 

注意 是 def __init__()

class Calculator:
    def __init__(self,name,price,height,width,weight):
        self.name = name
        self.price = price
        self.h = height
        self.wi = width
        self.we = weight
        
c = Calculator('Good calculator',12,1,2,3)
print(c.wi)
class Calculator:
    def __init__(self,name,price,height=1,width=2,weight=3):
        self.name = name
        self.price = price
        self.h = height
        self.wi = width
        self.we = weight
        
c = Calculator('Good calculator',12)
print(c.h)
b = Calculator('Good calculator',12,10)
print(b.h)

--------------------------------------
1
10

11、input

a_input = int(input('Please give a number:')) # input()  ---   return a  string  '1'
if a_input == 1:
    print('This is a good one')
elif a_input == 2:
    print('See you next time')
else:
    print('Good luck')

 

12、元组 

a_tuple = (12,3,5,25,6)
another_tuple = 12,3,5,25,6

13、列表 

a_list = [12,3,67,7,82]

for content in a_list:
    print(content)

for index in range(len(a_list)):
    print('index=',index,'number in list=',a_list[index])

----------------------------------------------------------
12
3
67
7
82
index= 0 number in list= 12
index= 1 number in list= 3
index= 2 number in list= 67
index= 3 number in list= 7
index= 4 number in list= 82
a = [1,2,3,4,2,3,1,1]

a.append(0)            # [1, 2, 3, 4, 2, 3, 1, 1, 0]

a.insert(0,0)          # [0, 1, 2, 3, 4, 2, 3, 1, 1] 在0位插入0

a.remove(1)            # [2, 3, 4, 2, 3, 1, 1] 去掉第一个出现的1

a.sort()               # [1, 1, 1, 2, 2, 3, 3, 4] 从小到大排序

a.sort(reverse=True)   # [4, 3, 3, 2, 2, 1, 1, 1] 从大到小排序

print(a.index(1))      # 0 第一次出现 1 的位置

print(a.count(1))      # 3 出现1的个数

左闭右开 :

a = [1,2,3,4,2,3,1,5]

print(a[0])      # 1
print(a[-1])     # 5
print(a[0:3])    # [1, 2, 3]  左闭右开
print(a[:3])     # [1, 2, 3]
print(a[3:5])    # [4, 2]
print(a[-3:])    # [3, 1, 5]

多维列表

 

a = [1,2,3,4,5]

multi_dim_a = [[1,2,3],
               [2,3,4],
               [3,4,5]]

print(a[1])               # 2
print(multi_dim_a[0][1])  # 2
print(multi_dim_a[0])     # [1,2,3]

14、字典

key:value

a = [1,2,3,4,5]

d1 = {'apple':1,'pear':2,'orange':3}
d2 = {1:'a','c':'b'}

print(d1['apple'],d2[1])    # 1 a


del d1['pear']              
print(d1)                   #删除   {'apple': 1, 'orange': 3} 


d1['b'] = 20
print(d1)                   #添加  {'apple': 1, 'orange': 3, 'b': 20}



def fun():
    return 1+2

d3 = {'apple':[1,2,3],'pear':{1:3,3:'a'},'orange':fun()}   #字典中可含列表、字典、函数

print(d3['apple'][0])   # 1
print(d3['pear'][3])    # a
print(d3['orange'])     # 3

15、import模块

注意time.localtime()中的()

#第一种方式

import time

print(time.localtime())



#第二种方式

import time as t

print(t.localtime())


#第三种

from time import time,localtime

print(localtime())
print(time())


#第四种

from time import *

print(localtime())
print(time())
print(gettime())

自己的模块

被调用模块(m1.py)和程序(python1.py)在同一文件夹下 或者把m1.py放到和numpy在一起的文件夹下

#m1.py

def printdata(data):
    print('I am m1')
    print(data)


#python1.py

import m1

m1.printdata('I am python1')

----------------------------
I am m1
I am python1

16、错误处理try

try:
    file = open('eee','r+')    #只读+写入
except Exception as e:
    print('there is no file named as eee')
    response = input('do you want to create a new file')
    if response == 'y':
        file = open('eee','w')
    else:
        pass
else:
    file.write('sss')
file.close()

 

17、zip & lambda & map

a = [1,2,3]
b = [4,5,6]

print(zip(a,b))         # <zip object at 0x000001905D33A688>

print(list(zip(a,b)))   # [(1, 4), (2, 5), (3, 6)]

for i,j in zip(a,b):    # 0.5 8
    print(i/2,j*2)      # 1.0 10
                        # 1.5 12
    
print(list(zip(a,a,b))) # [(1, 1, 4), (2, 2, 5), (3, 3, 6)]

 

def fun1(x,y):
    return(x+y)
print(fun1(2,3))

#lambda用于定义简单的方程

fun2 = lambda x,y:x+y

print(fun2(2,3))

18、copy

#第一种copy  a,b指向同一内存空间

a = [1,2,3]
b = a
print( id(a) )       # 1719550582216
print( id(b) )       # 1719550582216

b[0] = 11
print(a)             # [11, 2, 3]
a[1] = 22
print(b)             # [11, 22, 3]
print(id(a)==id(b))

#第二种copy  copy.copy  第一层的东西列表指定到不同的内存空间,第二层指向同一层空间

import copy

a = [1,2,3]

c = copy.copy(a)

print(id(a)==id(c))   # False

c[1] = 0
print(c)              # [11, 0, 3]
print(a)              # [11, 22, 3]

a = [1,2,[3,4]]
d =copy.copy(a)

print(id(a)==id(d))        # False
print(id(a[2])==id(d[2]))  # True

a[0] = 0
a[2][0] = 0

print(d)              # [1, 2, [0, 4]]   第一项没改变,但列表里面的改变了

#第三种copy  copy.deepcopy  完完全全的copy,内存空间不会重复

import copy
a = [1,2,[3,4]]

e = copy.deepcopy(a)

print(id(e[2])==id(a[2]))   # False



 

E:. │ 1.txt │ ├─千锋Python教程:第01章 第一个Python程序与数据存储及数据类型(9集) │ │ .DS_Store │ │ │ ├─code │ │ 1、数据存储.txt │ │ 2、第一个python程序.py │ │ 3、注释.py │ │ 4、输出与输入.py │ │ 5、Python数据类型.py │ │ 6、标识符.py │ │ 7、变量与常量.py │ │ │ ├─file │ │ │ MindManager_64bit_17.2.208.exe │ │ │ Python安装.pdf │ │ │ Python概述.pdf │ │ │ submit 2.0.rar │ │ │ │ │ ├─pycharm专业版 │ │ │ pycharm-professional-2017.2.3.exe │ │ │ Pycharm.txt │ │ │ │ │ └─python3.6 │ │ └─windows │ │ python-3.6.0-amd64.exe │ │ │ └─video │ 千锋Python教程:01.python概述和工具的安装.mp4 │ 千锋Python教程:02.数据存储与二进制操作1.mp4 │ 千锋Python教程:03.数据存储与二进制操作2.mp4 │ 千锋Python教程:04.第一个Python程序与注释及输入输出.mp4 │ 千锋Python教程:05.Python数据类型,标识符,变量与常量以及Number数据类型1.mp4 │ 千锋Python教程:06.Python数据类型,标识符,变量与常量以及Number数据类型2.mp4 │ 千锋Python教程:07.Python数据类型,标识符,变量与常量以及Number数据类型3.mp4 │ 千锋Python教程:08.数学功能与数字类型转换的使用1.mp4 │ 千锋Python教程:09.数学功能与数字类型转换的使用2.mp4 │ ├─千锋Python教程:第02章 运算符与表达式(7集) │ │ .DS_Store │ │ │ ├─code │ │ 1、运算符与表达式.py │ │ 2、运算符与表达式.py │ │ │ └─video │ 千锋Python教程:10.算术&赋值&位&关系运算符与表达式1.mp4 │ 千锋Python教程:11.算术&赋值&位&关系运算符与表达式2.mp4 │ 千锋Python教程:12.逻辑运算符与表达式1.mp4 │ 千锋Python教程:13.逻辑运算符与表达式2.mp4 │ 千锋Python教程:14.成员&身份运算符&字符串1.mp4 │ 千锋Python教程:15.成员&身份运算符&字符串2.mp4 │ 千锋Python教程:16.成员&身份运算符&字符串3.mp4 │ ├─千锋Python教程:第03章 字符串&布尔&空值(7集) │ │ .DS_Store │ │ │ ├─code │ │ 1、String(字符串).py │ │ 2、String的内置函数.py │ │ 3、布尔值和空值.py │ │ 4、变量的类型问题.py │ │ │ └─video │ 千锋Python教程:17.运算符&字符串1.mp4 │ 千锋Python教程:18.运算符&字符串2.mp4 │ 千锋Python教程:19.字符串的使用1.mp4 │ 千锋Python教程:20.字符串的使用2.mp4 │ 千锋Python教程:21.字符串的使用3.mp4 │ 千锋Python教程:22.字符串&布尔值&空值&变量的类型问题1.mp4 │ 千锋Python教程:23.字符串&布尔值&空值&变量的类型问题2.mp4 │ ├─千
E:. │ 1.txt │ ├─千锋Python教程:第01章 第一个Python程序与数据存储及数据类型(9集) │ │ .DS_Store │ │ │ ├─code │ │ 1、数据存储.txt │ │ 2、第一个python程序.py │ │ 3、注释.py │ │ 4、输出与输入.py │ │ 5、Python数据类型.py │ │ 6、标识符.py │ │ 7、变量与常量.py │ │ │ ├─file │ │ │ MindManager_64bit_17.2.208.exe │ │ │ Python安装.pdf │ │ │ Python概述.pdf │ │ │ submit 2.0.rar │ │ │ │ │ ├─pycharm专业版 │ │ │ pycharm-professional-2017.2.3.exe │ │ │ Pycharm.txt │ │ │ │ │ └─python3.6 │ │ └─windows │ │ python-3.6.0-amd64.exe │ │ │ └─video │ 千锋Python教程:01.python概述和工具的安装.mp4 │ 千锋Python教程:02.数据存储与二进制操作1.mp4 │ 千锋Python教程:03.数据存储与二进制操作2.mp4 │ 千锋Python教程:04.第一个Python程序与注释及输入输出.mp4 │ 千锋Python教程:05.Python数据类型,标识符,变量与常量以及Number数据类型1.mp4 │ 千锋Python教程:06.Python数据类型,标识符,变量与常量以及Number数据类型2.mp4 │ 千锋Python教程:07.Python数据类型,标识符,变量与常量以及Number数据类型3.mp4 │ 千锋Python教程:08.数学功能与数字类型转换的使用1.mp4 │ 千锋Python教程:09.数学功能与数字类型转换的使用2.mp4 │ ├─千锋Python教程:第02章 运算符与表达式(7集) │ │ .DS_Store │ │ │ ├─code │ │ 1、运算符与表达式.py │ │ 2、运算符与表达式.py │ │ │ └─video │ 千锋Python教程:10.算术&赋值&位&关系运算符与表达式1.mp4 │ 千锋Python教程:11.算术&赋值&位&关系运算符与表达式2.mp4 │ 千锋Python教程:12.逻辑运算符与表达式1.mp4 │ 千锋Python教程:13.逻辑运算符与表达式2.mp4 │ 千锋Python教程:14.成员&身份运算符&字符串1.mp4 │ 千锋Python教程:15.成员&身份运算符&字符串2.mp4 │ 千锋Python教程:16.成员&身份运算符&字符串3.mp4 │ ├─千锋Python教程:第03章 字符串&布尔&空值(7集) │ │ .DS_Store │ │ │ ├─code │ │ 1、String(字符串).py │ │ 2、String的内置函数.py │ │ 3、布尔值和空值.py │ │ 4、变量的类型问题.py │ │ │ └─video │ 千锋Python教程:17.运算符&字符串1.mp4 │ 千锋Python教程:18.运算符&字符串2.mp4 │ 千锋Python教程:19.字符串的使用1.mp4 │ 千锋Python教程:20.字符串的使用2.mp4 │ 千锋Python教程:21.字符串的使用3.mp4 │ 千锋Python教程:22.字符串&布尔值&空值&变量的类型问题1.mp4 │ 千锋Python教程:23.字符串&布尔值&空值&变量的类型问题2.mp4 │ ├─千锋Python教程:第04章 列表&元组&流程控制语句(8集) │ │ .DS_Store │ │ │ ├─code │ │ 1、list(列表).py │ │ 2、列表方法.py │ │ 3、浅拷贝与深拷贝.py │ │ 4、tuple(元组).py │ │ 5、条件控制语句.py │ │ 6、循环语句(while).py │ │ 7、循环语句(for).py │ │ 8、pass语句&continue;语句与break语句.py │ │ │ └─video │ 千锋Python教程:24.列表的使用及深浅拷贝1.mp4 │ 千锋Python教程:25.列表的使用及深浅拷贝2.mp4 │ 千锋Python教程:26.列表的使用及深浅拷贝3.mp4 │ 千锋Python教程:27.深浅拷贝&元组&条件判断语句1.mp4 │ 千锋Python教程:28.深浅拷贝&元组&条件判断语句2.mp4 │ 千锋Python教程:29.循环语句&关键字 break&pass;&continue1;.mp4 │ 千锋Python教程:30.循环语句&关键字 break&pass;&continue2;.mp4 │ 千锋Python教程:31.循环语句&关键字 break&pass;&continue3;.mp4 │ ├─千锋Python教程:第05章 字典&集合&类型转换&turtle;(1集) │ │ .DS_Store │ │ │ ├─code │ │ 1、dict(字典).py │ │ 2、set.py │ │ 3、类型转换.py │ │ │ └─video │ 千锋Python教程:32.字典&集合&类型转换&turtle1;.mp4 │ ├─千锋Python教程:第06章 函数与高阶函数(7集)) │ │ .DS_Store │ │ │ ├─code │ │ 10、函数也是一种数据.py │ │ 11、匿名函数.py │ │ 12、map&reduce;.py │ │ 13、filter.py │ │ 14、sorted.py │ │ 15、作用域.py │ │ 16、体现作用域.py │ │ 17、修改全局变量.py │ │ 18、修改嵌套作用域中的变量.py │ │ 1、函数概述.py │ │ 2、最简单的函数(无参无返回值).py │ │ 3、函数的参数.py │ │ 4、函数的返回值.py │ │ 5、传递参数.py │ │ 6、关键字参数.py │ │ 7、默认参数.py │ │ 8、不定长参数.py │ │ 9、多个返回值.py │ │ │ └─video │ 千锋Python教程:33.函数概述.mp4 │ 千锋Python教程:34.函数的基本使用1.mp4 │ 千锋Python教程:35.函数的基本使用2.mp4 │ 千锋Python教程:36.匿名函数&高阶函数 map&reduce1;.mp4 │ 千锋Python教程:37.匿名函数&高阶函数 map&reduce2;.mp4 │ 千锋Python教程:38.高阶函数 filter&sorted;.mp4 │ 千锋Python教程:39.作用域&修改变量作用域.mp4 │ ├─千锋Python教程:第07章 闭包&装饰器(5集) │ │ .DS_Store │ │ │ ├─code │ │ 10、多个装饰器.py │ │ 11、装饰器使用场景.py │ │ 12、计数函数执行次数.py │ │ 13、retry装饰器.py │ │ 1、变量的作用域链.py │ │ 2、利用闭包突破作用域链.py │ │ 3、装饰器概念.py │ │ 4、简单装饰器.py │ │ 5、复杂装饰器.py │ │ 6、使用@符号装饰.py │ │ 7、通用装饰器.py │ │ 8、参数的装饰器.py │ │ 9、计算程序运行时间.py │ │ │ └─video │ 千锋Python教程:40.闭包&装饰器1.mp4 │ 千锋Python教程:41.闭包&装饰器2.mp4 │ 千锋Python教程:42.闭包&装饰器3.mp4 │ 千锋Python教程:43.装饰器的使用1.mp4 │ 千锋Python教程:44.装饰器的使用2.mp4 │ ├─千锋Python教程:第08章 迭代器&生成器&偏函数(6集) │ 千锋Python教程:45.可迭代对象&列表生成式&生成器1.mp4 │ 千锋Python教程:46.可迭代对象&列表生成式&生成器2.mp4 │ 千锋Python教程:47.可迭代对象&列表生成式&生成器3.mp4 │ 千锋Python教程:48.斐波拉契数列&迭代器.mp4 │ 千锋Python教程:49.杨辉三角&偏函数&模块概述1.mp4 │ 千锋Python教程:50.杨辉三角&偏函数&模块概述2.mp4 │ ├─千锋Python教程:第09章 模块&包&常用模块&三方模块(14集) │ 千锋Python教程:51.系统模块&自定义模块&包1.mp4 │ 千锋Python教程:52.系统模块&自定义模块&包2.mp4 │ 千锋Python教程:53.系统模块&自定义模块&包3.mp4 │ 千锋Python教程:54.time 模块1.mp4 │ 千锋Python教程:55.time 模块2.mp4 │ 千锋Python教程:56.datetime&calendar;&collections1;.mp4 │ 千锋Python教程:57.datetime&calendar;&collections2;.mp4 │ 千锋Python教程:58.collections&uuid;&base64;模块1.mp4 │ 千锋Python教程:59.collections&uuid;&base64;模块2.mp4 │ 千锋Python教程:60.collections&uuid;&base64;模块3.mp4 │ 千锋Python教程:61.base64&hashlib;&hmac;模块1.mp4 │ 千锋Python教程:62.base64&hashlib;&hmac;模块2.mp4 │ 千锋Python教程:63.itertools 模块&三方模块的安装&pillow; 模块1.mp4 │ 千锋Python教程:64.itertools 模块&三方模块的安装&pillow; 模块2.mp4 │ ├─千锋Python教程:第10章 面向对象(26集) │ 千锋Python教程:65.堆和栈&面向对象思想概述1.mp4 │ 千锋Python教程:66.堆和栈&面向对象思想概述2.mp4 │ 千锋Python教程:67.堆和栈&面向对象思想概述3.mp4 │ 千锋Python教程:68.创建类&对象&对象的方法1.mp4 │ 千锋Python教程:69.创建类&对象&对象的方法2.mp4 │ 千锋Python教程:70.类属性&对象属性&构造方法&析构方法&访问权限1.mp4 │ 千锋Python教程:71.类属性&对象属性&构造方法&析构方法&访问权限2.mp4 │ 千锋Python教程:72.类属性&对象属性&构造方法&析构方法&访问权限3.mp4 │ 千锋Python教程:73.@property 装饰器&__slots__限制&单例概述1.mp4 │ 千锋Python教程:74.@property 装饰器&__slots__限制&单例概述2.mp4 │ 千锋Python教程:75.单例的三种实现方式&__repr__&__str__&继承概述1.mp4 │ 千锋Python教程:76.单例的三种实现方式&__repr__&__str__&继承概述2.mp4 │ 千锋Python教程:77.继承的实现&继承体系&栈和队列&python2;.2之前的继承体系1.mp4 │ 千锋Python教程:78.继承的实现&继承体系&栈和队列&python2;.2之前的继承体系2.mp4 │ 千锋Python教程:79.继承的实现&继承体系&栈和队列&python2;.2之前的继承体系3.mp4 │ 千锋Python教程:80.两种继承体系的区别.mp4 │ 千锋Python教程:81.python2.3-2.7的集成体系&py3;的继承体系&多态1.mp4 │ 千锋Python教程:82.python2.3-2.7的集成体系&py3;的继承体系&多态2.mp4 │ 千锋Python教程:83.Mixin&运算符重载&属性监听&枚举类1.mp4 │ 千锋Python教程:84.Mixin&运算符重载&属性监听&枚举类2.mp4 │ 千锋Python教程:85.Mixin&运算符重载&属性监听&枚举类3.mp4 │ 千锋Python教程:86.垃圾回收机制&类装饰器&魔术方法&人射击子弹案例1.mp4 │ 千锋Python教程:87.垃圾回收机制&类装饰器&魔术方法&人射击子弹案例2.mp4 │ 千锋Python教程:88.垃圾回收机制&类装饰器&魔术方法&人射击子弹案例3.mp4 │ 千锋Python教程:89.邮件&短信发送1.mp4 │ 千锋Python教程:90.邮件&短信发送2.mp4 │ ├─千锋Python教程:第11章 银行操作系统&tkinter; 界面(14集) │ 千锋Python教程:100.Entry控件&其他控件使用演示1.mp4 │ 千锋Python教程:101.Entry控件&其他控件使用演示2.mp4 │ 千锋Python教程:102.其他控件使用演示.mp4 │ 千锋Python教程:103.其他控件使用演示1.mp4 │ 千锋Python教程:104.其他控件使用演示2.mp4 │ 千锋Python教程:91.贪吃蛇演示&银行操作系统1.mp4 │ 千锋Python教程:92.贪吃蛇演示&银行操作系统2.mp4 │ 千锋Python教程:93.贪吃蛇演示&银行操作系统3.mp4 │ 千锋Python教程:94.银行操作系统.mp4 │ 千锋Python教程:95.银行操作系统1.mp4 │ 千锋Python教程:96.银行操作系统2.mp4 │ 千锋Python教程:97.银行操作系统&GUI;概述&tkinter; 概述1.mp4 │ 千锋Python教程:98.银行操作系统&GUI;概述&tkinter; 概述2.mp4 │ 千锋Python教程:99.tkinter组件之 label&button;.mp4 │ ├─千锋Python教程:第12章 异常处理&代码调试&IO;编程&目录遍历(14集) │ 千锋Python教程:105.错误处理1.mp4 │ 千锋Python教程:106.错误处理2.mp4 │ 千锋Python教程:107.代码调试1.mp4 │ 千锋Python教程:108.代码调试2.mp4 │ 千锋Python教程:109.单元测试1.mp4 │ 千锋Python教程:110.单元测试2.mp4 │ 千锋Python教程:111.树状目录层级演示&文档测试&读文件1.mp4 │ 千锋Python教程:112.树状目录层级演示&文档测试&读文件2.mp4 │ 千锋Python教程:113.写文件&编码与解码&StringIO;与B ytesIO1.mp4 │ 千锋Python教程:114.写文件&编码与解码&StringIO;与B ytesIO2.mp4 │ 千锋Python教程:115.os模块&数据持久化文件操作1.mp4 │ 千锋Python教程:116.os模块&数据持久化文件操作2.mp4 │ 千锋Python教程:117.目录遍历1.mp4 │ 千锋Python教程:118.目录遍历2.mp4 │ ├─千锋Python教程:第13章 正则表达式(5集) │ 千锋Python教程:119.正则表达式概述&re; 模块概述&常用函数&单字符匹配语法1.mp4 │ 千锋Python教程:120.正则表达式概述&re; 模块概述&常用函数&单字符匹配语法2.mp4 │ 千锋Python教程:121.正则表达式概述&re; 模块概述&常用函数&单字符匹配语法3.mp4 │ 千锋Python教程:122.正则表达式深入方式使用1.mp4 │ 千锋Python教程:123.正则表达式深入方式使用2.mp4 │ ├─千锋Python教程:第14章 进程和线程(12集) │ 千锋Python教程:124.多任务原理&进程概述&单任务现象&实现多任务1.mp4 │ 千锋Python教程:125.多任务原理&进程概述&单任务现象&实现多任务2.mp4 │ 千锋Python教程:126.多任务原理&进程概述&单任务现象&实现多任务3.mp4 │ 千锋Python教程:127.父子进程&启动进程&进程对象封装1.mp4 │ 千锋Python教程:128.父子进程&启动进程&进程对象封装2.mp4 │ 千锋Python教程:129.进程间的通信&线程概述&启动多线程1.mp4 │ 千锋Python教程:130.进程间的通信&线程概述&启动多线程2.mp4 │ 千锋Python教程:131.线程间数据共享&线程锁1.mp4 │ 千锋Python教程:132.线程间数据共享&线程锁2.mp4 │ 千锋Python教程:133.线程间数据共享&线程锁3.mp4 │ 千锋Python教程:134.定时线程&线程通信&生产者与消费者&线程调度1.mp4 │ 千锋Python教程:135.定时线程&线程通信&生产者与消费者&线程调度2.mp4 │ ├─千锋Python教程:第15章 网络编程(6集) │ 千锋Python教程:136.网络编程概述1.mp4 │ 千锋Python教程:137.网络编程概述2.mp4 │ 千锋Python教程:138.基于TCP的网络编程1.mp4 │ 千锋Python教程:139.基于TCP的网络编程2.mp4 │ 千锋Python教程:140.基于UDP的网络编程.mp4 │ 千锋Python教程:141.全网轰炸.mp4 │ ├─千锋Python教程:第16章 协程&同步异步&并发并行&编码(11集)规范 │ 千锋Python教程:142.协程概述&数据传递&生产者与消费者1.mp4 │ 千锋Python教程:143.协程概述&数据传递&生产者与消费者2.mp4 │ 千锋Python教程:144.同步异步&asyncio;模块块&协程与任务的定义及阻塞与 await1.mp4 │ 千锋Python教程:145.同步异步&asyncio;模块块&协程与任务的定义及阻塞与 await2.mp4 │ 千锋Python教程:146.同步异步&asyncio;模块块&协程与任务的定义及阻塞与 await3.mp4 │ 千锋Python教程:147.并发并行&协程嵌套&获取网页数据1.mp4 │ 千锋Python教程:148.并发并行&协程嵌套&获取网页数据2.mp4 │ 千锋Python教程:149.并发并行&协程嵌套&获取网页数据3.mp4 │ 千锋Python教程:150.chardet 模块&py2;与py3的区别&PEP8;编码规范1.mp4 │ 千锋Python教程:151.chardet 模块&py2;与py3的区别&PEP8;编码规范2.mp4 │ 千锋Python教程:152.chardet 模块&py2;与py3的区别&PEP8;编码规范3.mp4 │ └─千锋Python教程:第17章 Linux&git;(23集) 千锋Python教程:153.Linux概述1.mp4 千锋Python教程:154.Linux概述2.mp4 千锋Python教程:155.git的使用1.mp4 千锋Python教程:156.git的使用2.mp4 千锋Python教程:157.git的使用3.mp4 千锋Python教程:158.git 的使用1.mp4 千锋Python教程:159.git 的使用2.mp4 千锋Python教程:160.安装虚拟机&Ubantu; 镜像1.mp4 千锋Python教程:161.安装虚拟机&Ubantu; 镜像2.mp4 千锋Python教程:162.安装虚拟机&Ubantu; 镜像3.mp4 千锋Python教程:163.Linux 命令1.mp4 千锋Python教程:164.Linux 命令2.mp4 千锋Python教程:165.linux 命令1.mp4 千锋Python教程:166.linux 命令2.mp4 千锋Python教程:167.linux 命令&远程连接 linux.mp4 千锋Python教程:168.vi 编辑器1.mp4 千锋Python教程:169.vi 编辑器2.mp4 千锋Python教程:170.用户管理权限&阿里云的使用1.mp4 千锋Python教程:171.用户管理权限&阿里云的使用2.mp4 千锋Python教程:172.手动安装 Python3.6的环境&虚拟机环境1.mp4 千锋Python教程:173.手动安装 Python3.6的环境&虚拟机环境2.mp4 千锋Python教程:174.git 的使用1.mp4 千锋Python教程:175.git 的使用2.mp4
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值