Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 442 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
442
Dung lượng
27,11 MB
Nội dung
[...]... the first time through, you need to begin at the beginning, because the book makes assumptions about what you’ve already seen and learned This is not Head First Python We use release 3 of the Python programming language throughout this book, but this fact alone does not make this book Head First Python We chose Python because it’s a great programming language to start with and it’s also a great programming. .. advantage of modular programming techniques to keep their workload manageable Head First Health Club is upgrading some systems 178 The program needs to create a transaction file 179 Use strings to format strings 180 The Format String Exposed 186 A late night email ruins your day 187 $50,000 for a donut?! 188 Only the sales from your program were rejected 189 The new bank uses a new format 190 Your coffee... think of a Head Firs n make sure you have to get it, the rn something? First, e to lea sed on the latest So what does it tak ts into your head Ba t about pushing fac It’s no logy, learning you don’t forget it educational psycho , neurobiology, and e science ur brain on research in cognitiv know what turns yo n text on a page We takes a lot more tha ciples: First lear ning prin Some of the Head ch mu... GUI) in this chapter Head First TVN now produces game shows 216 pygame is cross platform 220 pygame Exposed 229 0 2 1 9 blast off ! 230 tkinter gives you the event loop for free 234 tkinter is packed with options 235 The GUI works, but doesn’t do anything 238 Connect code to your button events 239 The GUI program’s now ready for a screentest 244 But TVN is still not happy 249 Your Programming Toolbox... you can copy and paste them as needed You’ll find them at two locations: http://www.headfirstlabs.com/books/hfprog/ and http:/ /programming. itcarlow.ie The Brain Power exercises don’t have answers For some of them, there is no right answer, and for others, part of the learning experience of the Brain Power activities is for you to decide if and when your answers are right In some of the Brain Power exercises,... #3: Other programming languages 388 #4: Automated testing techniques 389 #5: Debugging 390 #6: Command-line execution 391 #7: Ooops we could’ve covered more OOP 392 #8: Algorithms 393 #9: Advanced programming topics 394 #10: Other IDEs, shells and text editors 395 xxi how to use this book Intro I can’t believe they put that in a programming book ning question: In this section we answer the burprogramming... Doug Hellmann is a Senior Software Engineer at Racemi and former Editor in Chief for Python Magazine He has been programming in Python since version 1.4 and prior to Python worked mostly with C on a variety of Unix and non-Unix platforms He has worked on projects ranging from mapping to medical news publishing, with a little banking thrown in for good measure Doug spends his spare time working on several... Mietelski has been an Information Technology geek for over 20 years He’s currently a Software Engineer at a leading national academic medical center in the Chicagoland area, working on statistical research studies When he’s not at the office or tied to a computer, you’ll find him at a golf course chasing a little white ball Acknowledgments Our editor: Brian Sawyer was Head First Programming s editor... rattle on for hours on end? this book is for you Who should probably back away from this book? If you can answer “yes” to any of these: 1 Are you a seasoned programmer? Do you already know how to program? 2 Are you looking for a quick introduction or reference book to Python? 3 Would you rather have your toenails pulled out by 15 screaming monkeys than learn something new? Do you believe a programming. .. In fact, Python might be the only programming language you’ll ever need to learn and use (although your employer might think otherwise) Of course, you have to start with something, and we can think of no better programming language to use than Python when first learning how to program That said, this book isn’t designed to teach you Python; it’s designed to teach you programming, so most of the things . XHTML Head First Design Patterns Head First Data Analysis Head First Servlets and JSP Head First EJB Head First PMP Head First SQL Head First Software Development Head First JavaScript Head First. Development Head First JavaScript Head First Ajax Head First Physics Head First Statistics Head First Rails Head First PHP & MySQL Head First Algebra Head First Web Design Beijing • Cambridge • Farnham.