自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(35)
  • 问答 (2)
  • 收藏
  • 关注

原创 【Flask专题】12.模板-循环loop和宏(PyCharm)

模板-循环loop和宏(PyCharm)

2022-05-13 15:34:23 1071

原创 【Flask专题】11.模板-继承(PyCharm)

模板-继承(PyCharm)

2022-05-10 17:00:19 558

原创 【Flask专题】10.模板-过滤(PyCharm)

模板-过滤

2022-05-10 10:11:44 366

原创 【Flask专题】09.模板:变量(PyCharm)

模板:变量(PyCharm)

2022-05-09 21:04:03 365

原创 【Flask专题】08.请求对象request(PyCharm)

请求对象request(PyCharm)

2022-05-08 19:30:48 455

原创 【Flask专题】06.url_for():路由反向解析(PyCharm)

url_for():路由反向解析(PyCharm)

2022-05-08 17:31:34 327

原创 【Flask专题】05.路由和视图函数(PyCharm)

路由和视图函数(PyCharm)

2022-05-08 17:25:37 970 1

原创 【Flask专题】07.响应对象response(PyCharm)

响应对象response(PyCharm)

2022-05-08 08:22:14 889

原创 【Flask专题】04.设置Flask项目为开发环境(PyCharm)

设置Flask项目为开发环境(PyCharm)

2022-05-06 14:09:50 1224

原创 【Flask专题】03.PyCharm创建Flask项目(手动)

PyCharm创建Flask项目(手动搭建)

2022-05-06 10:46:35 414

原创 【Flask专题】02.PyCharm中使用已创建的虚拟环境

PyCharm中使用已创建的虚拟环境

2022-05-05 13:18:25 431

原创 【Flask专题】01.虚拟环境(virtualenvwrapper)的安装和使用

虚拟环境(virtualenvwrapper)的安装和使用

2022-05-05 09:43:57 847

原创 Python学习笔记---爬取苏州10年天气数据

爬取苏州10年天气数据

2022-04-14 10:22:00 495

原创 一起学Pandas系列基础篇---查询

一起学Pandas系列基础篇---查询数据(一)

2022-04-11 21:54:16 752

原创 一起学Pandas系列基础篇---索引选择器IndexSlice

一起学Pandas系列基础篇---索引选择器IndexSlice

2022-04-07 21:43:28 1453

原创 一起学Pandas系列基础篇---获取数据之truncate方法

一起学Pandas系列基础篇---获取数据之truncate方法

2022-04-07 21:31:54 1724

原创 一起学Pandas系列基础篇---获取数据之get方法

一起学Pandas系列基础篇---获取数据之get方法

2022-04-07 21:23:26 2281

原创 一起学Pandas系列基础篇---at和iat

一起学Pandas系列基础篇---at和iat

2022-04-07 18:00:19 2165

原创 一起学Pandas系列基础篇---loc和iloc

以若干示例展示loc和iloc的区别

2022-04-06 21:27:24 1358

原创 一起学Pandas系列基础篇---数据选择

以上展示了对DataFrame数据选择一列,可以是Series或DataFrame数据;切片列举,包括选择前两行、第4至第9行、全部数据、取偶数前五行、反转顺序、特定两列等。

2022-04-06 18:34:07 3023

原创 《征服C指针》学习笔记---第1章(一)

最近学习C语言,对C指针不是很理解,翻阅了知乎上的一些学习经验,推荐了一本日本作者前桥和弥的《征服C指针》的书,粗粗翻阅了一下,感觉对自己很有帮助,借此博客记录下学习笔记和自己的一些理解,也希望和对此感兴趣的朋友共勉。几点补充:使用了原文(翻译版)的章节题目没有涉及指针等重点内容的都一掠而过作者的语言诙谐、专业性较强,强烈建议阅读原书第1章 从基础开始—预备知识和复习1.1 C是什么样的语言1.1.1 比喻为了解决眼前问题,由开发现场的人发明(即由系统开发者发明,用于解决

2020-10-17 07:57:01 236

原创 Python基础---异常

例1 多个异常 def exception_v1(): try: num1 = int(input("请输入被除数:" )) num2 = int(input("请输入除数: ")) print("商为:" + str(num1/num2)) except ValueError as err: print("请...

2019-08-15 22:02:53 150

原创 Python基础---文件的读写

例1 将字符串写入指定文件中def main(): # 打开桌面文件name.txt(如果该文件不存在,则创建;如果已存在,则删除文件内容),创建文件对象file_1 file_1 = open(r'C:\Users\yyf24\Desktop\name.txt', 'w') # 将字符串写入文件中 file_1.write('Zoe\n') file_...

2019-08-07 22:14:57 402

原创 Turtle Graphics

Turtle graphics is an interesting and easy way to learn basic programming concepts. The Python turtle graphics system simulates a “turtle” that obeys commands to draw simple graphics.import the tur...

2019-07-24 08:13:10 1055

原创 Python基础---Constants(常量)

A named constant is a name that represents a value that cannot bechanged during the program’s execution.e.g.INTEREST_RATE = 0.072

2019-07-23 20:13:27 6290

原创 Python基础---Formatting Numbers(对数字格式化)

保留小数点后几位e.g.>>> print(format(1.23456, '.2f'))1.23• The .2 specifies the precision. It indicates that we want to round the number to two decimal places.• The f specifies that the data t...

2019-07-23 20:08:17 783

原创 Python基础---Escape Characters(转义字符串)

常见的转义字符串参考文献[1] Tony Gaddis,Starting Out with Python[M],United Kingdom: Pearson,2019

2019-07-23 19:35:54 1670

原创 Python基础---Breaking Long Statements into Multiple Lines(代码分行)

using the line continuation character, which is a backslash ().>>> result = 1 + 2 + 3 + 4 \ + 5>>> using parentheses ()result = (1 + 2 + 3 + 4 + 5)print(result)...

2019-07-15 19:29:06 160

原创 Python基础---数字与数学运算知识点整理

Some Conceptsoperand操作数、运算数Python Math Operators# This program gets an item's original price and calculates its sale price,with a 20% discount.# Get the item's original price.origi...

2019-07-15 19:21:30 350

原创 PYTHON CRASH COURSE【Project2: Data visualization】跟随学习---Installing matplotlib

Some ConceptsData visualizationexploring data through visual representationsdata mininguses code to explore the patterns and connections in a data seta data seta small list of numb...

2019-07-10 07:50:11 216

原创 Python基础---Input【input()】

input()一般格式>>> name = input("What's your name? ")What's your name? Pegga>>> print(name)Pegga注意input()返回字符串格式(The input function always returns the user’s input as a string...

2019-07-09 20:03:01 213

原创 Python基础---Variable(变量)

Some TermsTerms解释Variable标识符the Variable Name标识符Variable Naming Rules(变量命名规则)不能使用python关键字(no key words)不能有空格(no spaces)必须以字母或者_开头可以包含字母、数字和_区分大小写见名知意分割标识符下划线分割驼峰命名(the c...

2019-07-08 19:38:10 13644

原创 Python基础---Comments(注释)

ConceptComments are notes of explanation that document lines or sections of aprogram.Comments are part of the program, but the Python interpreterignores them. They are intended for people who may ...

2019-06-30 21:59:48 2708

原创 Python基础---output【print()】

一、 输出字符串1. 一般字符串>>> print("My name is Pegga!") My name is Pegga! 2. 输出带单引号(’)的字符串方法一:>>> print("I'm Pegga!") I'm Pegga! 方法二:>>> print('I\'m Pegga!')I'm Peg...

2019-06-27 22:41:13 8555

原创 Python基础---如何运行Python程序?(How to Excute a python programe?)

如何运行Python程序?(How to Excute a python programe?)一些概念(Concept)Python InterpreterThe Python interpreter can run Python programs that are saved in files or interactively execute Python statements ...

2019-06-24 23:52:52 547

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除