牛客98796599
牛客98796599
全部文章
未归档
NLP(1)
RNN(1)
XGBoost(1)
归档
标签
去牛客网
登录
/
注册
Asia-Lee
记录学习,分享快乐!
全部文章
/ 未归档
(共124篇)
Python3快速入门——(8)列表生成式(list comprehension)
列表生成式(list comprehension) lis= list ( range ( 1 , 11 )) #lis=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10] lis= list ( range ( 10 )) #lis=[...
2018-03-15
0
528
Python3快速入门——(7)迭代(iterable)和迭代器
迭代(iterable) #任何可迭代对象都可以作用于for循环,包括我们自定义的数据类型,只要符合迭代条件,就可以使用for循环 d = { 'a' : 1 , 'b' : 2 , 'c' : 3 } #对dict迭代 for k...
2018-03-15
0
579
Python3快速入门——(6)文件操作
#文件操作 f= open ( "e: \\ testcode \\ test.txt" , "r" ) #读取.txt文件 g=f.read() print (g) f.close() #操作完成后关闭文...
2018-03-14
0
445
Python3快速入门——(5)函数基础
#函数基础 def printhello(): # def 定义函数 print ( 'hello python' ) #函数执行部分 def printNum(): for i in range ( 0 , 10 ): ...
2018-03-14
0
461
Python3快速入门——(4)循环结构和判断结构
循环结构 #循环结构 cities=[ "Austin" , "Dallas" , "Houston" ] for city in cities: #for循环 print (ci...
2018-03-14
0
445
Python3快速入门——(3)dict(字典结构)
#先回忆下列表的操作 animals=["cat","dog","rabbit"] #找到list中的某个值(第一种方法) for animal in animals: if(animal=="cat"...
2018-03-14
0
607
Python3快速入门——(2)list和tuple(列表和元组)
1、List基础结构 #python中数据类型转换 str_eight= str (8) #整型8装换位字符型'8' str_eight_two="8" int_eight= int (str_eight_two) #字符型转换为整型 flo...
2018-03-14
0
498
Python3快速入门——(1)python变量和输入输出函数
1、Python语言 Python 是一种解释型、面向对象、动态数据类型的高级程序设计语言 Python 是一种解释型语言: 这意味着开发过程中没有了编译这个环节。类似于PHP和Perl语言。 Python 是交互式语言: 这意味着,您可以在一个Python提示符,直接互动执行写你...
2018-03-14
0
504
Python3开发环境配置汇总
下面只针对Windows平台的环境配置 1、Python下载(版本自己选择) 1.1 Python版本官网下载: http://www.python.org/download/ Python官网:http://www.python.org/ 1.2 Anaconda官网下载:https:/...
2018-03-13
0
650
eNSP华为模拟器使用——(11)eNSP模拟无线AC和AP
eNSP模拟无线AC和AP 1、拓扑 2、需求(实现AC和AP二层关联) 3、配置(dhcp enable; interface Vlanif 1; ip address 192.168.10.1 255.255.255.0; dhcp select interface; w...
2018-03-13
0
1394
首页
上一页
4
5
6
7
8
9
10
11
12
13
下一页
末页