Practical Programming: An Introduction to Computer Science Using Python 3.6

Paul Gries, Jennifer Campbell, Jason Montojo

買這商品的人也買了...

商品描述

Classroom-tested by tens of thousands of students, this new edition of the bestselling intro to programming book is for anyone who wants to understand computer science. Learn about design, algorithms, testing, and debugging. Discover the fundamentals of programming with Python 3.6--a language that's used in millions of devices. Write programs to solve real-world problems, and come away with everything you need to produce quality code. This edition has been updated to use the new language features in Python 3.6.

No programming experience required! Incremental examples show you the steps and missteps that happen while developing programs, so you know what to expect when you tackle a problem on your own. Inspired by "How to Design Programs" (HtDP), discover a five-step recipe for designing functions, which helps you learn the concepts--and becomes an integral part of writing programs.

In this detailed introduction to Python and to computer programming, find out exactly what happens when your programs are executed. Work with numbers, text, big data sets, and files using real-world examples. Create and use your own data types. Make your programs reliable, work with databases, download data from the web automatically, and build user interfaces. As you use the fundamental programming tools in this book, you'll see how to document and organize your code so that you and other programmers can more easily read and understand it. This new edition takes advantage of Python 3.6's new features, including type annotations on parameters, return types and variable declarations, and changes to string formatting.

Most importantly, you'll learn how to think like a professional programmer.

What You Need:

You'll need to download Python 3.6, available from https://python.org.With that download comes IDLE, the editor we use for writing andrunning Python programs. (If you use Linux, you may need to installPython 3.6 and IDLE separately.)

商品描述(中文翻譯)

這本暢銷的程式設計入門書籍經過數以萬計的學生實踐驗證,適合任何想要了解計算機科學的人。學習設計、演算法、測試和除錯。探索使用Python 3.6這個在數百萬設備上使用的語言的程式設計基礎。撰寫解決現實世界問題的程式,並獲得製作優質程式所需的一切。這個版本已更新為使用Python 3.6的新語言功能。

無需程式設計經驗!逐步示例展示開發程式時發生的步驟和錯誤,讓您知道在自己解決問題時可以預期什麼。受到《如何設計程式》(HtDP)的啟發,發現設計函數的五個步驟,這有助於您學習概念,並成為撰寫程式的重要組成部分。

在這本詳細介紹Python和計算機程式設計的書中,了解當您的程式被執行時發生的情況。使用真實世界的例子處理數字、文字、大數據集和文件。創建並使用自己的資料類型。使您的程式可靠,與資料庫一起工作,自動從網路下載資料,並建立使用者介面。當您使用本書中的基本程式設計工具時,您將看到如何記錄和組織您的程式碼,以便您和其他程式設計師更容易閱讀和理解。這個新版本利用了Python 3.6的新功能,包括對參數、返回類型和變數聲明的類型註釋,以及對字符串格式的更改。

最重要的是,您將學習如何像專業程式設計師一樣思考。

所需材料:

您需要下載Python 3.6,可從https://python.org獲得。隨附的下載包含我們用於編寫和執行Python程式的編輯器IDLE。(如果您使用Linux,可能需要單獨安裝Python 3.6和IDLE。)