笨学习python 3——前言

Preface:

前言:

This simple book is meant to get you started in programming.
这本简易的书意味着将带你入门编程。

The title says it’s the hard way to
learn to write code, but it’s actually not. It’s only the “hard” way because it uses a technique called instruction.
标题上说这是用笨办法学习写代码,其实不然。之所以称之为笨是因为使用了操作指南的方法。

Instruction is where I tell you to do a sequence of controlled exercises designed to build a skill through repetition.
操作指南就是我告诉你,通过重复一系列的控制练习来获得一种技能。

This technique works very well with beginners who know nothing and need to acquire basic skills before they can understand more complex topics.
这种技术行为对没有经验的,需要一定的基础本领可以理解更多的复杂的规则的初学者来说特别友好。

It’s used in everything from martial arts to music to even basic math and reading skills.
它常常用于任何能力,从武术到音乐,甚至是基本的数学和阅读技巧。

This book instructs you in Python by slowly building and establishing skills through techniques such as
practice and memorization, then applying them to increasingly difficult problems.
这本书基于你在python慢慢习得技能,通过技术,诸如练习和记忆,然后逐渐的用在较难的项目上。

By the end of the book you will have the tools needed to begin learning more complex programming topics.
在这本书的最后,你将需要使用一些工具在最初学习更复杂的编程知识。

I like to tell people that my book gives you your “programming black belt.”
我喜欢告诉人们我的书带给你 编程黑带

What this means is that you know the basics well
enough to now start learning programming.
这意味着尽管是在开始学习编程,你也能很好的掌握基础。

If you work hard, take your time, and build these skills, you will learn to code.
如果你足够努力,多花点时间,多练习这些技能,你就能学会写代码。

Improvements in the Python 3 Edition
升级为Python 3 编辑器

Learn Python 3 the Hard Way now uses Python 3.6. I’ve standardized on this version of Python because
it has a new, improved string formatting system that is easier to use than the previous 4 (or 3, I forget,
there were many) versions.
笨办法学习 python 3 目前使用 python 3.6。由于这是当前最新的版本,因此我以这个版本为标准。提高字符串格式化系统是很容易的去使用版本Ⅳ,(或者是版本3,我忘记了,可能更多)版本。

There are a few problems with Python 3.6 for beginners, but I help you navigate these issues in the book.
这里对于初学者有一些关于python 3.6 的问题,但是在这本书中我将帮助你、找到正确的应对方法。

A particularly hairy problem is that Python 3.6 has very poor error messages in some key areas that I help you understand.
怕python 3.6 是一个对错误的信息非常不友好,特别是有小毛病,在一些关键的领域上我能帮你理解。

I have also improved the videos based on my experiences over the last five years teaching people Python.
我也有一些进阶的视频基于我近五年的经验,教人们学习python。

You can watch these videos online at informit.com/title/9780134692883.
你可以观看这些在线视频:informit.com/title/9780134692883.

In the past the videos simply let you watch me do the exercise.
在过去的视频中,简明的让你观看我的练习。

The Python 3 edition videos also show you how to break—and then fix—every exercise.
python 3 版本的视频也能展示如何突破——并且梳理——每一个练习。

This skill is called “debugging.”
这个技巧叫作调试。

It teaches you how to fix problems you run into but also how Python runs the programs you’re creating.
它教你如何处理遇到的复杂的问题,除了这些问题是你自己造成的。
The goal of this new methodology is to build a mental model of how Python runs your code so you can more easily figure out why it’s broken.
这个新的方法论的目标就是一个心里建设,关于如何运行你的python代码,因此,你可以跟容易的解决为什么代码运行不下去。

You’ll also learn many useful tricks for debugging broken software.
你也可与学习许多的有用的花招(技巧)以解决软件调试中断

Last, the Python 3 edition fully supports Microsoft Windows 10 from beginning to end.
最后,python 3 版本从始至终,完全支持微软win10系统

The previous edition focused mostly on the Unix-style systems such as macOS and Linux, with Windows being more of an afterthought.
在先前的版本中集中于Unix系统诸如macOS和Linux,后面才支持windows

At the time I started writing the Python 3 edition Microsoft had started to take open source tools and developers seriously, and it was difficult to ignore them as a serious Python development platform.
那时候我开始写微软 python 3 版本,开始认真的用开源的工具和开发者,作为一个python开发平台,很难忽略他们。

The videos feature Microsoft Windows using Python in various scenarios and also show macOS and Linux for full compatibility.
这个视频以微软操作系统为特色,使用 python多种的脚本,也完全兼容 macOS 和Linux 这两个系统。

I tell you about any gotchas on each platform, cover installation instructions, and provide any other tips I can give you.
我将告诉你这三大平台的用法,包括安装介绍并且提供我所能给你的小技巧。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值