Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Programming for Non-Programmers is online course designed to help non-programmers communicate more efficiently with developers. Because leading a development team (without being a developer yourself) can sometimes feels like “talking about dancing”, I've created an interactive and easy to follow environment in which to learn the basics. | Programming for Non-Programmers Release 2.6.2 Steven F. Lott January 23 2012 CONTENTS I How To Write Your Own Software Using Python 1 1 Preface 5 1.1 Why Read This Book . 5 1.2 What Is This Book About . 5 1.3 Audience. 6 1.4 Conventions Used in This Book . 8 2 Getting Started 11 2.1 About Python. 11 2.2 About Programming. 18 2.3 Let There Be Python Downloading and Installing. 24 2.4 Two Minimally-Geeky Problems Examples of Things Best Done by Customized Software . 30 2.5 Why Python is So Cool. 35 3 Using Python 39 3.1 Instant Gratification The Simplest Possible Conversation. 39 3.2 IDLE Time Using Tools To Be More Productive . 48 4 Arithmetic and Expressions 55 4.1 Simple Arithmetic Numbers and Operators. 55 4.2 Better Arithmetic Through Functions. 67 4.3 Extra Functions math and random. 74 4.4 Special Ops Binary Data and Operators . 79 4.5 More Advanced Expression Topics . 86 5 Programming Essentials 95 5.1 Seeing Results The print Statement . 95 5.2 Turning Python Loose With a Script . 99 5.3 Expressions Constants and Variables.102 5.4 Assignment Bonus Features.108 5.5 Can We Get Your Input .111 6 Some Self-Control 117 6.1 Truth and Logic Boolean Data and Operators . 117 6.2 Making Decisions The Comparison Operators.123 6.3 Advanced Logic Operators . 127 6.4 Processing Only When Necessary The if Statement .130 6.5 While We Have More To Do The for Statement.137 6.6 While We Have More To Do The while Statement.144 6.7 Becoming More Controlling.150