{"id":22341,"date":"2023-02-23T05:44:02","date_gmt":"2023-02-23T05:44:02","guid":{"rendered":"https:\/\/www.booksofall.com\/cn\/?post_type=product&#038;p=22341"},"modified":"2023-02-23T05:44:02","modified_gmt":"2023-02-23T05:44:02","slug":"programming-for-non-programmers","status":"publish","type":"product","link":"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/","title":{"rendered":"Programming for Non-Programmers"},"content":{"rendered":"<p>You\u2019ll need to read this book when you have the following three things happening at the same time:<\/p>\n<ul>\n<li>You have a problem to solve that involves data and processing.<\/li>\n<li>You\u2019ve found that the common desktop tools (word processors, spreadsheets, databases, organizers, graphics) won\u2019t really help. You\u2019ve found that they require too much manual pointing and clicking, or they don\u2019t do the right kinds of processing on your data.<\/li>\n<li>You\u2019re ready to invest some of your own time to learn how to write customized software that will solve your problem.<\/li>\n<\/ul>\n<p>You\u2019ll want to read this book if you are a tinkerer who likes to know how things really work. For many people, a computer is just an appliance. You may not find this satisfactory, and you want to know more. People who tinker with computers are called hackers, and you are about to join their ranks.<\/p>\n<p>Python is what you\u2019ve been looking for. It is an easy-to-use tool that can do any kind of processing on any kind of data. Seriously: any processing, any data. Programming is the term for setting up a computer to do the processing you define on your data. Once you learn the <a href=\"https:\/\/www.python.org\/\">Python language<\/a>, you can solve your data processing problem.<\/p>\n<p>Our objective is to get you, a non-programming newbie, up and running. When you\u2019re done with this book, you\u2019ll be ready to move on to a more advanced Python book. For example, a book about Python libraries. You can use these libraries can help you build high-quality software with a minimum of work.<\/p>\n<h4>1.2 What Is This Book About?<\/h4>\n<p>This book is about many things. The important topics include <a href=\"https:\/\/www.python.org\/\">Python<\/a>, programming, languages, data, processing, and some of the skills that make up the craft of programming. We\u2019ll talk about the core intellectual tools of abstraction, algorithms and the formality of computer languages. We\u2019ll also touch on math and logic, statistics, and casino games.<\/p>\n<p>Python. Python is a powerful, flexible toolbox and workbench that can help solve your data processing problem. If you need to write customized software that does precisely what you want, and you want that software to be readable, maintainable, adaptable, inexpensive and make best use of your computer, you need Python.<\/p>\n<p>Programming. When we\u2019ve written a sequence of statements in the Python language, we can then use that sequence over and over again. We can process different sets of data in a standard, automatic fashion. We\u2019ve created a program that can automate data processing tasks, replacing tedious or error-prone pointing and clicking in other software tools. Also, we can create programs that do things that other desktop tools can\u2019t do at all.<\/p>\n<p>The big picture is this: the combination of the Python program plus a unique sequence of <a href=\"https:\/\/www.greenteapress.com\/thinkpython\/thinkCSpy\/html\/chap02.html\">Python language statements<\/a> that we create can have the effect of creating a new application for our computer. This means that our application uses the existing Python program as its foundation. The Python program, in turn, depends on many other libraries and programs on your computer. The whole structure forms a kind of technology stack, with our program on top, controlling the whole assembly.<\/p>\n<p>Languages. We\u2019ll look at three facets of a programming language: how you write it, what it means, and the additional practical considerations that make a program useful. We\u2019ll use these three concepts to organize our presentation of the language. We need to separate these concepts to assure that there isn\u2019t a lot of confusion between the real meaning and the ways we express that meaning.<\/p>\n<p>The sentences \u201cXander wrote a tone poem for chamber orchestra\u201d and \u201cThe chamber orchestra\u2019s tone poem was written by Xander\u201d have the same meaning, but express it in different ways. They have the same semantics, but different syntax. For example, in one sentence the verb is \u201cwrote\u201d, in the other sentence it is \u201cwas written by\u201d: different forms of the verb to write. The first form is written in active voice, and the second form is called the passive voice. Pragmatically, the first form is slightly clearer and more easily understood.<\/p>\n<p>The syntax of the Python language is covered here and in the <a href=\"https:\/\/docs.python.org\/3\/reference\/\">Python Reference Manual<\/a>. <a href=\"https:\/\/www.tutorialspoint.com\/python\/python_basic_syntax.htm\">Python syntax<\/a> is simple, and very much like English. We\u2019ll provide many examples of language syntax. We\u2019ll also provide additional tips and hints focused on the newbies and non-programmers. Also, when you install Python, you will also install a Python Tutorial [PythonTut] that presents some aspects of the language, so you\u2019ll have at least three places to learn syntax.<\/p>\n<p>The semantics of the language specifies what a statement really means. We\u2019ll define the semantics of each statement by showing what it makes the Python program do to your data. We\u2019ll also be able to show where there are alternative syntax choices that have the same meaning. In addition to semantics being covered in this book, you\u2019ll be able to read about the meaning of Python statements in the Python Reference Manual, the Python Tutorial, and chapter two of the <a href=\"https:\/\/docs.python.org\/3\/library\/\">Python Library Reference<\/a>.<\/p>\n<p>In this book, we\u2019ll try to provide you with plenty of practical advice. In addition to breaking the topic into bite-sized pieces, we\u2019ll also present lots of patterns for using Python that you can apply to real-world problems.<\/p>\n<p>Extensions. Part of the Python technology stack are the extension libraries. These libraries are added onto Python, which has the advantage of keeping the language trim and fit. Software components that you might need for specialized processing are kept separate from the core language. Plus, you can safely ignore the components you don\u2019t need.<\/p>\n<p>This means that we actually have two things to learn. First, we\u2019ll learn the language. After that, we\u2019ll look at a few of the essential libraries. Once we\u2019ve seen that, we can see how to make our own libraries, and our own application programs.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p><iframe style=\"width: 100%; height: 700px; border: none;\" src=\"https:\/\/online.visual-paradigm.com\/share\/book\/programmingfornon-programmers-19mlxp3cmc?enforceShowPromotionBar=true&amp;p=1\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"featured_media":22345,"template":"","meta":{"_yoast_wpseo_title":"","_yoast_wpseo_metadesc":""},"product_brand":[],"product_cat":[275],"product_tag":[],"class_list":{"0":"post-22341","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-python","8":"first","9":"instock","10":"shipping-taxable","11":"product-type-simple"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Programming for Non-Programmers - BooksOfAll Simplified Chinese<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Programming for Non-Programmers - BooksOfAll Simplified Chinese\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/\" \/>\n<meta property=\"og:site_name\" content=\"BooksOfAll Simplified Chinese\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63f6f9f5cf46f.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63f6f9f5cf46f.png\" \/>\n<meta name=\"twitter:label1\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/\",\"url\":\"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/\",\"name\":\"Programming for Non-Programmers - BooksOfAll Simplified Chinese\",\"isPartOf\":{\"@id\":\"https:\/\/www.booksofall.com\/cn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63f6f9f5cf46f.png\",\"datePublished\":\"2023-02-23T05:44:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/#primaryimage\",\"url\":\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63f6f9f5cf46f.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63f6f9f5cf46f.png\",\"width\":\"477\",\"height\":\"627\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.booksofall.com\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Categories\",\"item\":\"https:\/\/www.booksofall.com\/cn\/categories\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Programming for Non-Programmers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.booksofall.com\/cn\/#website\",\"url\":\"https:\/\/www.booksofall.com\/cn\/\",\"name\":\"BooksOfAll Simplified Chinese\",\"description\":\"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.\",\"publisher\":{\"@id\":\"https:\/\/www.booksofall.com\/cn\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.booksofall.com\/cn\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.booksofall.com\/cn\/#organization\",\"name\":\"BooksOfAll Simplified Chinese\",\"url\":\"https:\/\/www.booksofall.com\/cn\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.booksofall.com\/cn\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/booksofall-logo-2.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/booksofall-logo-2.png\",\"width\":166,\"height\":30,\"caption\":\"BooksOfAll Simplified Chinese\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/cn\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Programming for Non-Programmers - BooksOfAll Simplified Chinese","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/","og_locale":"zh_CN","og_type":"article","og_title":"Programming for Non-Programmers - BooksOfAll Simplified Chinese","og_url":"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/","og_site_name":"BooksOfAll Simplified Chinese","og_image":[{"url":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63f6f9f5cf46f.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63f6f9f5cf46f.png","twitter_misc":{"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/","url":"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/","name":"Programming for Non-Programmers - BooksOfAll Simplified Chinese","isPartOf":{"@id":"https:\/\/www.booksofall.com\/cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/#primaryimage"},"image":{"@id":"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/#primaryimage"},"thumbnailUrl":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63f6f9f5cf46f.png","datePublished":"2023-02-23T05:44:02+00:00","breadcrumb":{"@id":"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/#primaryimage","url":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63f6f9f5cf46f.png","contentUrl":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2023\/02\/img_63f6f9f5cf46f.png","width":"477","height":"627"},{"@type":"BreadcrumbList","@id":"https:\/\/www.booksofall.com\/cn\/programming-for-non-programmers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.booksofall.com\/cn\/"},{"@type":"ListItem","position":2,"name":"Categories","item":"https:\/\/www.booksofall.com\/cn\/categories\/"},{"@type":"ListItem","position":3,"name":"Programming for Non-Programmers"}]},{"@type":"WebSite","@id":"https:\/\/www.booksofall.com\/cn\/#website","url":"https:\/\/www.booksofall.com\/cn\/","name":"BooksOfAll Simplified Chinese","description":"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.","publisher":{"@id":"https:\/\/www.booksofall.com\/cn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.booksofall.com\/cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/www.booksofall.com\/cn\/#organization","name":"BooksOfAll Simplified Chinese","url":"https:\/\/www.booksofall.com\/cn\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.booksofall.com\/cn\/#\/schema\/logo\/image\/","url":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/booksofall-logo-2.png","contentUrl":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/booksofall-logo-2.png","width":166,"height":30,"caption":"BooksOfAll Simplified Chinese"},"image":{"@id":"https:\/\/www.booksofall.com\/cn\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/product\/22341","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/media\/22345"}],"wp:attachment":[{"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/media?parent=22341"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/product_brand?post=22341"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/product_cat?post=22341"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/product_tag?post=22341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}