下载  >  开发技术  >  Python  > 趣学python编程

趣学python编程 评分

趣学python编程,以python3作为讲解
PYTHON FOR KIDS PYTHON FOR KIDS A PLAYFUL INTRODUCTION TO PROGRAMMING BY JASON R。 BRIGGS no starch press San francisco PYTHON FOR KIDS. Copyright o 2013 by Jason R. briggs All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. First printing 1615141312 23456789 ISBN-10:1-59327407-6 ISBN-13:978-1-59327407-8 Publisher: William pollock Production Editor: Serena Yang Cover and Interior Design: Octopod Studios Illustrator: Miran Lipovaca Developmental Editor: William Pollock Technical Reviewers: Josh Pollock and Maria fernandez Copyeditor: Marilyn Smith Compositor: Serena Yang Proofreader: Greg Teague For information on book distributors or translations, please contact No starch Press, Inc directl No Starch Press Inc 38 Ringold Street, San Francisco, CA94103 hone415.863.9900;fax415.863.9950;info@nostarch.com;http://www.nostarch.com/ Library of Congress Cataloging-in-Publication Data A catalog record of this book is available from the Library of Congress No Starch Press and the No Starch Press logo are registered trademarks of No Starch Press, Inc. Other product and company names mentioned herein may be the trademarks of their respective owners. Rather than use a trademark symbol with every occurrence of a trademarked name, we are using the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark The information in this book is distributed on an" As Is"basis, without warranty. While every precaution has been taken in the preparation of this work, neither the author nor No Starch Press, Inc shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in it BRIEF CONTENTS About the author. illustrator. and Technical reviewers ,,,,XV Acknowledgments ,。,,,,,,xV11 Introduction PART I: LEARNING TO PROGRAM Chapter 1: Not All Snakes Slither Chapter 2: Calculations and Variables 15 Chapter 3: Strings, Lists, Tuples, and Maps .,,,25 Chapter 4: Drawing with Turtles. ..,.43 Chapter 5: Asking Questions with if and else............ 53 Chapter 6: Going Loopy ..,.67 Chapter 7: Recycling Your Code with Functions and modules 81 Chapter 8: How to Use Classes and Objects .,,93 Chapter 9: Pythons Built-in Functions .,109 Chapter 10: Useful Python Modules ..,129 Chapter 11: More Turtle Graphics................ 145 Chapter 12: Using tkinter for Better Graphics........... 163 PART Il: BOUNCE! Chapter 13: Beginning Your First Game: Bounce! .193 Chapter 14: Finishing Your First Game: Bounce 205 PART II: MR STICK MAN RACES FOR THE EXIT Chapter 15: Creating Graphics for the Mr Stick Man game 221 Chapter 16: Developing the Mr Stick Man Game 233 Chapter 17: Creating Mr. Stick Man .,.251 Chapter 18: Completing the Mr Stick Man Game 259 Afterword: Where to go from here 285 Appendix: Python Keywords ..,293 Glossary ..,.307 Index 313 CONTENTS IN DETAIL ABOUT THE AUTHOR. ILLUSTRATOR, AND TECHNICAL REVIEWERS ACKNOWLEDGMENTS INTRODUCTION XIX Why python? How to Learn to code ,,,,ⅩX Who should read this book ·· .,ⅩⅩ1 What's in This book XXIL The Companion Website Have fun! XX111 PART I: LEARNING TO PROGRAM NOT ALL SNAKES SLITHER A Few Words About language 4 Installing Python Installing Python on Windows 7 Installing Python on Mac Os X 5579 Installing Python on Ubuntu Once You' ve Installed Python 10 Saving Your python Programs 12 What You learned .,,,,,,13 2 CALCULATIONS AND VARIABLES 15 Calculating with Python .,,,,,,,,,,,,,,,,,,,,,16 Python Operators............... 17 The Order of Operations 18 Variables are like labels 19 Using Variables .,,,,,,,,,,,,,,,,,,,,,,,,,,,21 What You learned 23 3 STRINGS. LISTS. TUPLES. AND MAPS 25 Strings 26 Creating Strings 26 Handling problems with Strings ..,,,,,27 Embedding values in Strings ..30 Multiplying strings lists Are More Powerful Than Strings 32 Adding Items to a list ...,,,,,,...35 Removing items from a list 35 List arithmetic ,,,,,,,,,,,,,,,,,,,,,,,,,36 Tuples Python Maps Wont Help You Find Your Way 39 What You learned 垂 ..41 Programming puzzles #1: Favorites 41 #2: Counting Combatants 42 #3: Greetings! .,42 4 DRAWING WITH TURTLES 43 Using Pythons turtle Module 44 Creating a canvas 44 Moving the Turtle..,… ..46 What You learned 51 Programming puzzles 51 #1: A Rectangle .,,,,,,,,,,,,.51 #2: A Triangl 51 #3: A Box Without Corners 51 5 ASKING QUESTIONS WITH IF AND ELSE 53 if Statements 54 A Block Is a group of Programming Statements .54 Conditions Help Us Compare Things 57 if-then-else statements if and elif statements .,,,,.,59 Combining conditions 61 Variables with no value None 61 The Difference Between Strings and Numbers ..62 What You learned .65 VI Contents in detail

...展开详情
所需积分/C币:23 上传时间:2016-04-30 资源大小:13.28MB
举报 举报 收藏 收藏 (5)
分享 分享

评论 下载该资源后可以进行评论 10

cclweee 英文版的 看不懂啊
2018-07-04
回复
purify_jj 直接买书看了
2018-06-11
回复
zbhover 不错。好用。
2018-04-17
回复
dddhmj111 英文,息么不是中文
2018-03-28
回复
vicky214 居然是英文版的 好想中文版
2017-07-04
回复
趣学python编程中文版——让孩子做python小游戏

趣学Python编程是一本很好的入门的书,适合孩子学习编程入门。有小游戏可以培养孩子的兴趣。

立即下载
趣学Python编程 高清完整版带书签目录.pdf

趣学Python编程 高清完整版带书签目录.pdf 个人收集电子书,仅用学习使用,不可用于商业用途,如有版权问题,请联系删除! 目录: 第1部分 学习编程 第1章 python不是大蟒蛇 3 1.1 关于计算机语言 3 1.2 安装python 4 1.2.1 在windows 7上安装python 4 1.2.2 在苹果os x上安装python 6 1.2.3 在ubuntu上安装python 8 1.3 当你安装好python以后 9 1.4 保存python程序 10 1.5 你学到了什么 12 第2章 计算与变量 13 2.1 用python来做计算 13 2.1.1 python

立即下载
趣学python——教孩子学编程-PDF电子书下载 带书签 目录 完整版

趣学python——教孩子学编程-PDF电子书下载 带书签 目录 完整版

立即下载
趣学Python编程 高清完整版

《趣学Python编程》是一本轻松、快速掌握Python编程的入门读物。全书分为3部分,共18章。第1部分是第1章到第12章,介绍Python编程基础知识,包括Python的安装和配置、变量、字符串、列表、元组和字典、条件语句、循环语句函数和模块、类、内建函数和绘图,等等。第2部分是第13章和第14章,介绍如何用Python开发实例游戏弹球。第3部分包括第15章到第18章,介绍了火柴人实例游戏的开发过程。 《趣学Python编程》语言轻松,通俗易懂,讲解由浅入深,力求将读者阅读和学习的难度降到最低。任何对计算机编程有兴趣的人或者首次接触编程的人,不论孩子还是成人,都可以通过阅读本书来学习Pyt

立即下载
趣学Python编程

趣学Python编程趣学

立即下载
趣学 PYTHON编程

本书用一种轻松活泼的方式带领读者进入Python语言的世界。作者将带领读者以独特的、新奇而充满乐趣的示例,来学习Python编程。其中,术语会特别提示,代码用不同颜色提示、分析和说明。图示也轻松活泼。本书每一章都有精心设计的编程谜题,让读者开动大脑,充分理解所学的知识和内容。本书最后,介绍了如何编写两个完整的游戏。这种通过编写游戏的教学方式,能够极大地调动读者的学习积极性。

立即下载
教孩子学编程++PYTHON语言版.pdf

教孩子学编程++PYTHON语言版.pdf

立即下载
趣学Python 教孩子学编程

趣学Python:教孩子学编程 内容简介Python是一款解释型、面向对象、动态数据类型的高级程序设计语言。Python语法简捷而清晰,具有丰富和强大的类库,因而在各种行业中得到广泛的应用。对于初学者来讲,Python是一款既容易学又相当有用的编程语言,国内外很多大学开设这款语言课程,将Python作为一门编程语言学习。  《趣学Python:教孩子学编程》是一本轻松、快速掌握Python编程的入门读物。全书分为3部分,共18章。第1部分是第1章到第12章,介绍Python编程基础知识,包括Python的安装和配置、变量、字符串、列表、元组和字典、条件语句、循环语句函数和模块、类、内建函数和绘

立即下载