教程
Learn Python 3 the Hard Way 豆瓣
作者: Zed A. Shaw Addison 2017 - 7
You Will Learn Python 3!
Zed Shaw has perfected the world’s best system for learning Python 3. Follow it and you will succeed—just like the millions of beginners Zed has taught to date! You bring the discipline, commitment, and persistence; the author supplies everything else.
In Learn Python 3 the Hard Way, you’ll learn Python by working through 52 brilliantly crafted exercises. Read them. Type their code precisely. (No copying and pasting!) Fix your mistakes. Watch the programs run. As you do, you’ll learn how a computer works; what good programs look like; and how to read, write, and think about code. Zed then teaches you even more in 5+ hours of video where he shows you how to break, fix, and debug your code—live, as he’s doing the exercises.
Install a complete Python environment Organize and write code Fix and break code Basic mathematics Variables Strings and text Interact with users Work with files Looping and logic Data structures using lists and dictionaries Program design Object-oriented programming Inheritance and composition Modules, classes, and objects Python packaging Automated testing Basic game development Basic web development
It’ll be hard at first. But soon, you’ll just get it—and that will feel great! This course will reward you for every minute you put into it. Soon, you’ll know one of the world’s most powerful, popular programming languages. You’ll be a Python programmer.
This Book Is Perfect For
Total beginners with zero programming experience Junior developers who know one or two languages Returning professionals who haven’t written code in years Seasoned professionals looking for a fast, simple, crash course in Python 3
2022年1月15日 已读
纯粹为了乐趣看了这本编程书。作为编程入门教程,本书写成了应该有的样子:在基础阶段,练习其实比学习新知识更重要。本书的优点(一些有经验的程序员或许会觉得这是缺点)正是练习量很足,甚至每章标题没有用 Chapter 而是直接写成了 Exercise。

在我看来,唯一的缺点(其实很多教程都有这个缺点,本书不算严重)是最后有点太赶了,扶上马需要送一程,但送得还不够。

小提示:如果是用 Python 3 的最新版本(3.10),nose 大概率不能用,nose2 可以用,但一则是一些表达发生了变化,二则是 nose2 功能本身不是很全(或可认为是 unittest 的补充)。不得已,我用 pytest 把其中的自动测试部分重写了一遍(事实上比用 nose 更简单)。
python 教程 编程
故事策略 豆瓣
The Story Solution: 23 Actions All Great Heroes Must Take
8.0 (5 个评分) 作者: [美]Eric Edson 译者: 徐晶晶 人民邮电出版社 2013 - 5
不管你是刚开始写故事还是你已经有了一些剧本或小说的创作经历,本书都将为你提供一个创建强有力的电影故事的全新方法,这将使读者、代理人、制片人和观众都为之入迷。美国资深编剧和大学教授埃里克·埃德森(Eric Edson)揭示了在任何一个成功的电影剧本中都会用到的23个环环相扣的段落,以此创建动态且真实的主人公和吸引人的、情感注入的情节。
归根结底,电影成功的原因就是它们基于相同的故事结构。不管是《盗梦空间》、《阿凡达》、《黑暗骑士》、《朱诺》、《黑衣人》、《无间行者》、《假结婚》、《钢铁侠》、《风月俏佳人》、《灵魂歌王》、《宿醉》、《永不妥协》、《搏击俱乐部》、《与歌同行》、《穿普拉达的女王》还是《飞屋环游记》,无论什么类型,如果电影票房成功,如果它们能吸引人们走进电影院,这些电影都包含同样的23个渐进的故事段落,就像每一部成功的电影一样。如果你的剧本缺少了这必需的23个段落,那么它可能会永远埋没在经纪人或制片厂的废稿堆里。
本书分为四个部分。第一部分主要阐述核心概念,为什么讲故事的仪式对我们来说是如此重要、冲突扮演的基本角色,以及资深编剧和小说作者可以采用英雄目标序列在创建故事时更好地用这些永恒的人类真理来赢得经纪人和制片人的喝彩。第二部分探讨创建人物的方法和研究为编剧故事创作服务的普世的人物类型。这部分还包括通过23个故事段落塑造人物的工具,以及你为人物所写的对白听起来应该是怎样的。第三部分揭示了人物即情节和情节即人物,阐述了电影故事结构的基本元素,这将是更为详细的23个段落模板的基础,以及一个有力的人物成长弧是如何完美地贴合23个英雄目标行动,这将赋予你的剧本深刻的主题并引人关注。第四部分逐步地详细分解票房成功的电影23个衔接的故事段落,提供了你前所未见的最为有力的情节概述的方法。