{{sellerTotalView > 1 ? __("sellers", {number: sellerTotalView}) : __("seller", {number: sellerTotalView}) }}, {{numTotalView > 1 ? __("items", {number: numTotalView}) : __("item", {number: numTotalView}) }}
free FREE

Change Your Zip Code

Inventory information and delivery speeds may vary for different locations.

Location History

{{email ? __('Got it!') : __('Restock Alert')}}

We will notify you by email when the item back in stock.

Cancel
Yami

Jingdong book

趣学Python编程

{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}

趣学Python编程

{{__(":people-members", {'people': item.limit_people_count})}} {{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ item.invalid_price }} {{ itemDiscount }}
Ends in
{{ itemCurrency }}{{ item.valid_price }}
{{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }}
{{ itemDiscount }}
{{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }} {{ itemCurrency }}{{ item.invalid_price }} {{itemDiscount}}
{{ itemCurrency }}{{ item.valid_price }}
Sale ends in
Sale will starts after Sale ends in
{{ getSeckillDesc(item.seckill_data) }}
{{ __( "Pay with Gift Card to get sale price: :itemCurrency:price", { 'itemCurrency' : itemCurrency, 'price' : (item.giftcard_price ? priceFormat(item.giftcard_price) : '0.00') } ) }} ({{ itemCurrency }}{{ priceFormat(item.giftcard_price / item.bundle_specification) }}/{{ item.unit }}) Details
Best before

Currently unavailable.

We don't know when or if this item will be back in stock.

Unavailable in your area.
Sold Out

Details

Full product details
Editer Recommend

Python是一种强大并通俗易懂的编程语言,而且它易学又好用!但是关于学习Python语言的书大多很枯燥无趣,读起来没什么乐趣。本书把你带入一个鲜活的Python编程世界。作者Jason R. Briggs将带领你用独特的(往往很好玩的)示例程序带你学习基础知识。每章后面都配有编程练习来帮助训练思维并加强理解。在本书的最后部分,你将编写两个完整的游戏:一个经典弹球游戏的复制品,以及一个能在平台上跳跃、有动画及更多效果的《火柴人逃生》游戏。
当你完成这个编程之旅后,你将学到:
● 使用列表、元组和字典等基本数据结构;
● 用函数和模块来组织以并重用代码;
● 使用循环和条件语句等控制结构;
● 用Python 的海龟模块来画形状和图案;
● 用tkinter 来创建游戏、动画以及其他画面效果。
为什么这本书也能给读者带来乐趣?因为《趣学Python编程》是你进入神奇的计算机编程世界的门票。
Content Description

Python是一款解释型、面向对象、动态数据类型的高级程序设计语言。Python语法简捷而清晰,具有丰富和强大的类库,因而在各种行业中得到广泛的应用。对于初学者来讲,Python是一款既容易学又相当有用的编程语言,国内外很多大学开设这款语言课程,将Python作为一门编程语言学习。
《趣学Python编程》是一本轻松、快速掌握Python编程的入门读物。全书分为3部分,共18章。第1部分是第1章到第12章,介绍Python编程基础知识,包括Python的安装和配置、变量、字符串、列表、元组和字典、条件语句、循环语句函数和模块、类、内建函数和绘图,等等。第2部分是第13章和第14章,介绍如何用Python开发实例游戏弹球。第3部分包括第15章到第18章,介绍了火柴人实例游戏的开发过程。
《趣学Python编程》语言轻松,通俗易懂,讲解由浅入深,力求将读者阅读和学习的难度降到最低。任何对计算机编程有兴趣的人或者首次接触编程的人,不论孩子还是成人,都可以通过阅读本书来学习Python编程。
Author Description

Jason R. Briggs,从8岁开始编写程序,他学习的第一种编程语言是在Radio Shack TRS-80上的BASIC。作为开发人员及系统架构师,他是职业软件开发者,同时他又是《Java开发者》杂志的特约编辑。他的文章上过JavaWolr d、ONJava以及ONLamp。这是他撰写的第一本书。
Catalogue

第1部分学习编程

第1章Python不是大蟒蛇
1.1关于计算机语言
1.2安装Python
1.2.1在Windows 7上安装Python
1.2.2在苹果OS X上安装Python
1.2.3在Ubuntu上安装Python
1.3当你安装好Python以后
1.4保存Python程序
1.5你学到了什么

第2章计算与变量
2.1用Python来做计算
2.1.1Python的运算符
2.1.2运算的顺序
2.2变量就像是标签
2.3使用变量
2.4你学到了什么

第3章字符串、列表、元组和字典
3.1字符串
3.1.1创建字符串
3.1.2处理字符串相关的问题
3.1.3在字符串里嵌入值
3.1.4字符串乘法
3.2列表比字符串还强大
3.2.1添加元素到列表
3.2.2从列表中删除元素
3.2.3列表上的算术
3.3元组
3.4Python里的map不是用来指路的
3.5你学到了什么
3.6编程小测验

第4章用海龟画图
4.1使用Python的turtle(海龟)模块
4.1.1创建画布
4.1.2移动海龟
4.2你学到了什么
4.3编程小测验

第5章用if和else来提问
5.1if语句
5.2语句块就是一组程序语句
5.3条件语句帮助我们做比较
5.4if-then-else语句
5.5if和elif语句
5.6组合条件
5.7没有值的变量--None
5.8字符串与数字之间的不同
5.9你学到了什么
5.10编程小测验

第6章循环
6.1使用for循环
6.2还有一种叫while的循环
6.3你学到了什么
6.4编程小测验

第7章使用函数和模块来重用你的代码
7.1使用函数
7.1.1函数的组成部分
7.1.2变量和作用域
7.2使用模块
7.3你学到了什么
7.4编程小测验

第8章如何使用类和对象
8.1把事物拆分成类
8.1.1父母与孩子
8.1.2增加属于类的对象
8.1.3定义类中的函数
8.1.4用函数来表示类的特征
8.1.5为什么使要用类和对象
8.1.6画图中的对象与类
8.2对象和类的另一些实用功能
8.2.1函数继承
8.2.2从函数里调用其他函数
8.3初始化对象
8.4你学到了什么
8.5编程小测验

第9章Python的内建函数
9.1使用内建函数
9.1.1abs函数
9.1.2bool函数
9.1.3dir函数
9.1.4eval函数
9.1.5exec函数
9.1.6float函数
9.1.7int函数
9.1.8len函数
9.1.9max和min函数
9.1.10range函数
9.1.11sum函数
9.2使用文件
9.2.1创建测试文件
9.2.2在Python中打开文件
9.2.3写入到文件
9.3你学到了什么
9.4编程小测验

第10章常用的Python模块
10.1使用copy模块来复制
10.2keyword模块记录了所有的关键字
10.3用random模块获得随机数
10.3.1用randint来随机挑选一个数字
10.3.2用choice从列表中随机选取一个元素
10.3.3用shuffle来给列表洗牌
10.4用sys模块来控制Shell程序
10.4.1用exit函数来退出Shell程序
10.4.2从stdin对象读取
10.4.3用stdout对象来写入
10.4.4我用的Python是什么版本的
10.5用time模块来得到时间
10.5.1用asctime来转换日期
10.5.2用localtime来得到日期和时间
10.5.3用sleep来休息一会儿吧
10.6用pickle模块来保存信息
10.7你学到了什么
10.8编程小测验

第11章高级海龟作图
11.1从基本的正方形开始
11.2画星星
11.3画汽车
11.4填色
11.4.1用来画填色圆形的函数
11.4.2使用纯白和纯黑
11.5画方形的函数
11.6画填色正方形
11.7画填好色的星星
11.8你学到了什么
11.9编程小测验

第12章用tkinter画高级图形
12.1创造一个可以点的按钮
12.2使用具名参数
12.3创建一个画图用的画布
12.4画线
12.5画盒子
12.5.1画许多矩形
12.5.2设置颜色
12.6画圆弧
12.7画多边形
12.8显示文字
12.9显示图片
12.10创建基本的动画
12.11让对象对操作有反应
12.12更多使用ID的方法
12.13你学到了什么
12.14编程小测验

第2部分弹球实例

第13章你的第一个游戏:弹球
13.1击打反弹球
13.2创建游戏的画布
13.3创建Ball类
13.4增加几个动作
13.4.1让小球移动
13.4.2让小球来回反弹
13.4.3改变小球的起始方向
13.5你学到了什么

第14章完成你的第一个游戏:反弹吧,小球!
14.1加上球拍
14.2让球拍移动
判断小球是否击中球拍
14.3增加输赢因素
14.4你学到了什么
14.5编程小测验

第3部分火柴人实例

第15章火柴小人游戏的图形
15.1火柴小人游戏计划
15.2得到GIMP
15.3创建游戏中的元素
15.3.1准备一个有透明背景的图形
15.3.2画火柴人
15.3.3画平台
15.3.4画门
15.3.5画背景
15.3.6透明
15.4你学到了什么

第16章开发火柴人游戏
16.1创建Game类
16.1.1设置窗口标题以及创建画布
16.1.2完成__init__函数
16.1.3创建主循环函数
16.2创建坐标类
16.3冲突检测
16.3.1精灵在水平方向上冲突
16.3.2精灵在垂直方向上冲突
16.3.3把它们放在一起:最终的冲突检测代码
16.4创建精灵类
16.5添加平台类
16.5.1加入平台对象
16.5.2添加很多平台
16.6你学到了什么
16.7编程小测验

第17章创建火柴人
17.1初始化火柴人
17.1.1装入火柴人图形
17.1.2设置变量
17.1.3与键盘按键绑定
17.2让火柴人向左转和向右转
17.3让火柴人跳跃
17.4我们都做了什么
17.5你学到了什么

第18章完成火柴人逃生游戏
18.1让火柴人动起来
18.1.1创建动画函数
18.1.2得到火柴人的位置
18.1.3让火柴人移动
18.2测试我们的火柴人精灵
18.3门
18.3.1创建DoorSprite类
18.3.2门的检测
18.3.3加入门对象
18.4最终的游戏
18.5你学到了什么
18.6编程小测验

结束语接下来学什么
附录Python的关键字
术语表

Specifications

Brand Jingdong book
Brand Origin China

Disclaimer

Product packaging, specifications and price are subject to change without notice. All information about the products on our website is provided for information purposes only. Please always read labels, warnings and directions provided with the product before use.

View Full Terms of Use
Add to favorites
{{ $isZh ? coupon.coupon_name_sub : coupon.coupon_ename_sub | formatCurrency }}
{{__("Buy Directly")}} {{ itemCurrency }}{{ item.directly_price }}
Quantity
{{ quantity }}
{{ instockMsg }}
{{ limitText }}
{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}
Sold by JD@CHINA
Ship to
{{ __("Ship to United States only") }}
Free shipping over 69
Genuine guarantee

Added to Cart

Keep Shopping

More to Consider

{{ item.brand_name }}

{{ item.item_name }}

{{ item.currency }}{{ item.market_price }}

{{ item.currency }}{{ item.unit_price }}

{{ item.currency }}{{ item.unit_price }}

Coupons

{{ coupon.coupon_name_new | formatCurrency }}
Clip Clipped Over
{{ getCouponDescStr(coupon) }}
{{ coupon.use_time_desc }}
Expires soon {{ formatTime(coupon.use_end_time) }}

Share this item with friends

Cancel

Yami Gift Card

Get this exclusive deal when paying with gift card

Terms and Conditions

Gift card deals are special offers for selected products;

The gift card deals will automatically be activated if a customer uses gift card balance at check out and the balance is sufficient to pay for the total price of the shopping cart products with gift card deals;

You will not be able to activate the gift card deals if you choose other payment methods besides gift card. The products will be purchased at their normal prices;

If your account balance is not enough to pay for the products with gift card deals, you can choose to reload your gift card balance by clicking on the Reload button at either shopping cart page or check out page;

Products that have gift card deals can be recognized by a special symbol showing 'GC Deal';

For any additional questions or concerns, please contact our customer service;

Yamibuy reserves the right of final interpretation.

Sold by Yami

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

Yami is committed to provide our customers with a peace of mind when purchasing from us. Most items shipped from Yamibuy.com can be returned within 30 days of receipt of shipment (For Food, Beverages, Snacks, Dry Goods, Health supplements, Fresh Grocery and Perishables Goods, within 7 days of receipt of shipment due to damages or quality issues; To ensure that every customer receives safe and high-quality products, we do not provide refunds or returns for beauty products once they have been opened or used, except in the case of quality issues; Some products may have different policies or requirements associated with them, please see below for products under special categories, or contact Yami Customer Service for further assistance).
Thank you for your understanding and support.

Learn More

Sold by Yami

Terms and Conditions of Yami E-Gift Card

If you choose “Redeem automatically” as your delivery method, your gift card balance will be reload automatically after your order has been processed successfully;

If you choose “Send to Email”as your delivery method, the card number and CVV will be sent to the email address automatically;

Any user can use the card number and CVV to redeem the gift card, please keep your gift card information safely. If you have any trouble receiving email, please contact Yami customer service;

Yami gift card can be used to purchase both Yami owned or Marketplace products;

Yami gift card will never expire;

Yami gift card balance does not have to be used up at once;

All rights reserved by Yami.

Return Policy

Gift card that has already been consumed is non-refundable.

Sold by JD@CHINA

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Sold by JD@CHINA

Service Guarantee

Yami Cross-store Free Shipping over $69
Yami 30-days Return

Yami-China FC

Yami has a consolidation warehouse in China which collects multiple sellers’ packages and combines to one order. Our Yami consolidation warehouse will directly ship the packages to your door. Cross-store free shipping over $69.

Return Policy

You may return products within 30 days upon receiving the products. Sellers take responsibilities for any wrong shipment or missing items. Packing needs to be unopened for any other than quality issues return. We promise to pack carefully, but because goods are taking long journey to destinations, simple damages to packaging may occur. Any damages not causing internal goods quality problems are not allowed to return. If you open the package and any quality problem is found, please contact customer service within three days after receipt of goods.

Shipping Information

Yami Consolidation Service Shipping Fee $9.99(Free shipping over $69)

Sellers in China will ship their orders within 1-2 business days once the order is placed. Packages are sent to our consolidation warehouse in China and combined there. Our Yami consolidation warehouse will directly ship the packages to you via UPS. The average time for UPS to ship from China to the United States is about 10 working days and it can be traced using the tracking number. Due to the pandemic, the delivery time may be delayed by about 5 days. The package needs to be signed by the guest. If the receipt is not signed, the customer shall bear the risk of loss of the package.

Sold by JD@CHINA

Service Guarantee

Free shipping over 69
Genuine guarantee

Shipping

Yami Consolidated Shipping $9.99(Free shipping over $69)


Seller will ship the orders within 1-2 business days. The logistics time limit is expected to be 7-15 working days. In case of customs clearance, the delivery time will be extended by 3-7 days. The final receipt date is subject to the information of the postal company.

Yami Points information

All items are excluding from any promotion or points events on Yamibuy.com

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Yami

Download the Yami App

Back Top

Recommended for You

About the brand

Jingdong book

为您推荐

Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折

Reviews{{'('+ commentList.posts_count + ')'}}

Have your say. Be the first to help other guests.

Write a review
{{ totalRating }} Write a review
  • {{i}} star

    {{i}} stars

    {{ parseInt(commentRatingList[i]) }}%

Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}
Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}

No related comment~

Review

Yami Yami

{{ showTranslate(commentDetails) }}Show Less

{{ strLimit(commentDetails,800) }}Show more

Show Original

{{ commentDetails.content }}

Yami
Show All

{{ formatTime(commentDetails.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ commentDetails.likes_count }} {{ commentDetails.likes_count }} {{ commentDetails.reply_count }} {{commentDetails.in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Comments{{'(' + replyList.length + ')'}}

Yami Yami

{{ showTranslate(reply) }}Show Less

{{ strLimit(reply,800) }}Show more

Show Original

{{ reply.reply_content }}

{{ formatTime(reply.reply_in_dtm) }}

{{ reply.reply_likes_count }} {{ reply.reply_likes_count }} {{ reply.reply_reply_count }} {{reply.reply_in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Cancel

That’s all the comments so far!

Write a review
How would you rate this item?

Please add your comment.

  • A nice nickname will make your comments more popular!
  • The nickname in your account will be changed to the same as here.
Thanks for your review
Our community rely on great reviews like yours to find the best of Asia.

Report

If you find this content inappropriate and think it should be removed from the Yami.com site, let us know please.

Cancel

Are you sure to delete your review?

Cancel

You’ve Recently Viewed

About the brand

Jingdong book