Language : English
Published : 2016-06-10
Pages : 528
Introduction to Computing and Programming in Python 4th Global Edition
For courses in Computer Programming with Python. Social Computing and Programming with Python Introduction to Computing and Programming in Python is a uniquely researched and up-to-date volume that is widely recognized for its successful introduction to the subject of Media Computation. Emphasizing creativity, classroom interaction, and in-class programming examples, Introduction to Computing and Programming in Python takes a bold and unique approach to computation that engages students and applies the subject matter to the relevancy of digital media. The Fourth Edition teaches students to program in an effort to communicate via social computing outlets, providing a unique approach that serves the interests of a broad range of students. MyProgrammingLab(R) not included. Students, if MyProgrammingLab is a recommended/mandatory component of the course, please ask your instructor for the correct ISBN and course ID. MyProgrammingLab should only be purchased when required by an instructor. Instructors, contact your Pearson representative for more information. MyProgrammingLab is an online homework, tutorial, and assessment product designed to personalize learning and improve results. With a wide range of interactive, engaging, and assignable activities, students are encouraged to actively learn and retain tough course concepts.
Pre-Order (3-4 weeks)
In just 24 sessions of one hour or less, Sams Teach Yourself Python Programming for Raspberry Pi in 24 Hours teaches you Python programmingon Raspberry Pi, so you can start creating awesome projects for homeautomation, home theater, gaming, and more. Using this book’s straightforward,step-by-step approach, you’ll move from the absolute basics all theway through network and web connections, multimedia, and even connectingwith electronic circuits for sensing and robotics. Every lesson and casestudy application builds on what you’ve already learned, giving you arock-solid foundation for real-world success! Step-by-step instructions carefully walk you through the most common Raspberry Pi Python programming tasks. Quizzes at the end of each chapter help you test your knowledge. By the Way notes present interesting information related to the discussion. Did You Know? tips offer advice or show you easier ways to perform tasks. Watch Out! cautions alert you to possible problems and give you advice on how to avoid them. * Get your Raspberry Pi and choose the right low-cost peripherals * Set up Raspian Linux and the Python programming environment * Learn Python basics, including arithmetic and structured commands * Master Python 3 lists, tuples, dictionaries, sets, strings, files, and modules * Reuse the same Python code in multiple locations with functions * Manipulate string data efficiently with regular expressions * Practice simple object-oriented programming techniques * Use exception handling to make your code more reliable * Program modern graphical user interfaces with Raspberry Pi and OpenGL * Create Raspberry Pi games with the PyGame library * Learn network, web, and database techniques you can also use in business software * Write Python scripts that send email * Interact with other devices through Raspberry Pi’s GPIO interface * Walk through example Raspberry Pi projects that inspire you to do even more.
Table of Contents
Section 1: Problems and Algorithms – Solving Problems – Check what you have learnt – Algorithm design – Check what you have learnt Section 2: Visual Basic Fundamentals – Elements – Check what you have learnt – Hello (Programming example 1) – Points to note – Check what you have learnt – Objects and events – Check what you have learnt Section 3: Variables and Data Types – Temperature converter (Programming example 2) – Points to Note – Check what you have learnt – Visual Basic variables – Check what you have learnt Section 4: Branching – Dinosaur (Programming example 3) – Points to note – Check what you have learnt – Aquarium (Programming example 4) – Points to note – Check what you have learnt – Rally cars (Programming example 5) – Points to note – Check what you have learnt – Paper, rock, scissors (Programming example 6) – Points to note – Check what you have learnt Section 5: Loops – Fibonacci (Programming example 7) – Points to note – Check what you have learnt – Word count (Programming example 8) – Points to note – Check what you have learnt – Secret Message (Programming example 9) – Points to note – Check what you have learnt Section 6: Text Files – text Files – Check what you have learnt – Hit singles (Programming example 10) – Points to note – Check what you have learnt – Spell checker (Programming example 11) – Points to note – Check what you have learnt – Tiny text editor (Programming example 12) – Points to note – Check what you have learnt Section 7: Graphics and Geometry – Sketchpad (Programming example 13) – Points to note – Check what you have learnt – Learn to drive (Programming example 14) – Points to note – Check what you have learnt Section 8: Arrays – Collections and arrays – Check what you have learnt – Deal a hand (Programming example 15) – Points to note – Check what you have learnt – Concentrate (Programming example 16) – Points to note – Check what you have learnt
About the Author
John S. Conery is a professor in the Department of Computer and Information Science at the University of Oregon. With over 30 years of teaching experience, he has taught courses on high performance computing and scientific computing in addition to introductory computer science courses. A member of the University’s Center for Ecology and Evolutionary Biology, Dr. Conery has worked with biologists on a variety of problems related to gene and genome duplication, artificial neural networks, and population modeling. His current research interests are computational biology and bioinformatics.
If you need help writing programs in Python 3, or want to update older Python 2 code, this book is just the ticket. Packed with practical recipes written and tested with Python 3.3, this unique cookbook is for experienced Python programmers who want to focus on modern tools and idioms. Inside, you’ll find complete recipes for more than a dozen topics, covering the core Python language as well as tasks common to a wide variety of application domains. Each recipe contains code samples you can use in your projects right away, along with a discussion about how and why the solution works. Topics include: Data Structures and Algorithms Strings and Text Numbers, Dates, and Times Iterators and Generators Files and I/O Data Encoding and Processing Functions Classes and Objects Metaprogramming Modules and Packages Network and Web Programming Concurrency Utility Scripting and System Administration Testing, Debugging, and Exceptions C Extensions