2017年4月10日

Day1_Python基础_9.模块初识

摘要: 九、模块初识 Python的强大之处在于他有非常丰富和强大的标准库和第三方库,几乎你想实现的任何功能都有相应的Python库支持,以后的课程中会深入讲解常用到的各种库,现在,我们先来象征性的学2个简单的。 sys 1 2 3 4 5 6 7 8 9 10 11 #!/usr/bin/env pyth 阅读全文

posted @ 2017-04-10 14:18 承祥君 阅读(161) 评论(0) 推荐(0) 编辑

Day1_Python基础_8.用户输入

摘要: 八、用户输入 1 2 3 4 5 6 7 #!/usr/bin/env python #_*_coding:utf-8_*_ #name = raw_input("What is your name?") #only on python 2.x name = input("What is your 阅读全文

posted @ 2017-04-10 14:17 承祥君 阅读(164) 评论(0) 推荐(0) 编辑

Day1_Python基础_7.字符编码

摘要: 七、字符编码 python解释器在加载 .py 文件中的代码时,会对内容进行编码(默认ascill) ASCII(American Standard Code for Information Interchange,美国标准信息交换代码)是基于拉丁字母的一套电脑编码系统,主要用于显示现代英语和其他西 阅读全文

posted @ 2017-04-10 14:16 承祥君 阅读(195) 评论(0) 推荐(0) 编辑

Day1_Python基础_6.变量/字符编码

摘要: 六、变量\字符编码 Variables are used to store information to be referenced and manipulated in a computer program. They also provide a way of labeling data wit 阅读全文

posted @ 2017-04-10 14:15 承祥君 阅读(200) 评论(0) 推荐(0) 编辑

Day1_Python基础_5.Hello World 程序

摘要: 五、Hello World程序 在linux 下创建一个文件叫hello.py,并输入 1 print("Hello World!") 1 print("Hello World!") 1 print("Hello World!") 1 print("Hello World!") print("Hel 阅读全文

posted @ 2017-04-10 14:14 承祥君 阅读(159) 评论(0) 推荐(0) 编辑

Day1_Python基础_4.Python安装

摘要: windows 1 2 3 4 5 6 7 1、下载安装包 https://www.python.org/downloads/ 2、安装 默认安装路径:C:\python35 3、配置环境变量 【右键计算机】--》【属性】--》【高级系统设置】--》【高级】--》【环境变量】--》【在第二个内容框中 阅读全文

posted @ 2017-04-10 14:11 承祥君 阅读(109) 评论(0) 推荐(0) 编辑

Day1_Python基础_3.Python2 or 3 ?

摘要: 三、Python 2 or 3? 结论:请选择Python3 In summary : Python 2.x is legacy, Python 3.x is the present and future of the language Python 3.0 was released in 2008 阅读全文

posted @ 2017-04-10 14:08 承祥君 阅读(220) 评论(0) 推荐(0) 编辑

Day1_Python基础_2.Python历史

摘要: 二、Python发展史 1989年,为了打发圣诞节假期,Guido开始写Python语言的编译器。Python这个名字,来自Guido所挚爱的电视剧Monty Python’s Flying Circus。他希望这个新的叫做Python的语言,能符合他的理想:创造一种C和shell之间,功能全面,易 阅读全文

posted @ 2017-04-10 14:07 承祥君 阅读(186) 评论(0) 推荐(0) 编辑

Day1_Python基础_1.介绍

摘要: 一、 Python介绍 python的创始人为吉多·范罗苏姆(Guido van Rossum)。1989年的圣诞节期间,吉多·范罗苏姆为了在阿姆斯特丹打发时间,决心开发一个新的脚本解释程序,作为ABC语言的一种继承。 最新的TIOBE排行榜,Python赶超PHP占据第五, Python崇尚优美、 阅读全文

posted @ 2017-04-10 14:01 承祥君 阅读(161) 评论(0) 推荐(0) 编辑

Day1_Python基础

摘要: 本节内容 阅读全文

posted @ 2017-04-10 13:42 承祥君 阅读(93) 评论(0) 推荐(0) 编辑

导航