python book 学习笔记(一)

1 快速检查某个对象是否是字符串或者 Unicode 对象


2 字符串左对齐、右对齐、居中对齐


3 把一系列小字符串连接成一个大字符串


4 将字符串逐字符或逐词反转



5 关于集合


6 过滤字符串中不属于制定集合的字符


About the Book The Quick Python Book, Third Edition is a comprehensive guide to the Python language by a Python authority, Naomi Ceder. With the personal touch of a skilled teacher, she beautifully balances details of the language with the insights and advice you need to handle any task. Extensive, relevant examples and learn-by-doing exercises help you master each important concept the first time through. Whether you're scraping websites or playing around with nested tuples, you'll appreciate this book's clarity, focus, and attention to detail. What's Inside Clear coverage of Python 3 Core libraries, packages, and tools In-depth exercises Five new data science-related chapters About the Reader Written for readers familiar with programming concepts—no Python experience assumed. About the Author Naomi Ceder is chair of the Python Software Foundation. She has been learning, using, and teaching Python since 2001. Table of Contents PART 1 - STARTING OUT About Python Getting started The Quick Python overview PART 2 - THE ESSENTIALS The absolute basics Lists, tuples, and sets Strings Dictionaries Control flow Functions Modules and scoping rules Python programs Using the filesystem Reading and writing files Exceptions PART 3 - ADVANCED LANGUAGE FEATURES Classes and object-oriented programming Regular expressions Data types as objects Packages Using Python libraries PART 4 - WORKING WITH DATA Basic file wrangling Processing data files Data over the network Saving data Exploring data
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值