A user-friendly, object-oriented language, Python is quickly becoming the favorite introductory programming language among students and instructors. Python has a clean, simple syntax and an intuitive user environment, and therefore it is the ideal first language for those entering the world of computer science. Python Programming in Context, Second Edition is a clear, accessible introduction to the fundamental programming and problem solving concepts necessary for CS1 students. The authors carefully build upon the many important computer science concepts and problem solving techniques throughout the text and offer relevant, real-world examples and exercises to reinforce key material. Programming skills throughout the text are linked to applied areas such as Image Processing, Cryptography, Astronomy, Music, the Internet, and Bioinformatics, giving students a well-rounded look of its capabilities.The text is organized into three parts. Chapters 1-5 introduce all of the key control structures and Python data types, emphasizing straightforward imperative programming ideas such as variables, loops, and conditionals. All of the major Python data types are covered in these chapters, including integers, floats, strings, lists, dictionaries, and files. Chapters 6-9 offer students the opportunity to delve deeper into the basic programming concepts they learned in earlier chapters while introducing additional problem-solving patters. The final chapters, emphasize object-oriented programming and introduce the concepts needed to design and build classes.