Head First Programming potx

442 923 0
Head First Programming potx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... 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. .. 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... #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... 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... 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... on the GUI 283 An OptionMenu lets you have as many options as needed 284 The model stays the same Look, I don‛t care what you guys do, I‛m gonna stay selected 278 Head- Ex’s business is expanding 285 Things are going great at Head- Ex 291 Your Programming Toolbox 292 Yeah, me too Huh, and me xvii table of contents 8 / exceptions and message boxes Get the message? Sometimes things just go wrong You just... You might want to use one function in all your programs and, over time, that function’s code might change to suit your needs Smart programmers take 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... computer you are using Just be sure to select release 3 of Python, not release 2: http://www.python.org/download We begin by teaching some basic programming concepts, then we start putting programming to work for you right away We cover the fundamentals of programming in Chapter 1 That way, by the time you make it all the way to Chapter 2, you are creating programs that actually do something real, useful,... learning, and aren’t always fully-functional We’ve placed a lot of the code examples on the Web so 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... 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 When not editing books, Brian likes to run marathons “for fun.” It transpires that this was the perfect training for working on the marathon that producing this book turned into . 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. O’Reilly Learning Python Programming Python Python Cookbook Other books in O’Reilly’s Head First series Head First Java TM Head First Object-Oriented Analysis and Design (OOA&D) Head First HTML with

Ngày đăng: 29/03/2014, 09:20

Từ khóa liên quan

Mục lục

  • Oreilly - Head First Programming (12-2009) (ATTiCA)

  • Table of Contents

  • Intro

  • Chapter 1. Starting to Code

    • Programming lets you do more

    • But what are g and guess?

    • So how do you run your code?

    • Create a new program file

    • Prepare and run your code

    • A program is more than a list of commands

    • Codeville: Your program is like a network of roads

    • Branches are code intersections

    • Chapter 2. Textual Data

    • Chapter 3. Functions

    • Chapter 4. Data in Files and Arrays

    • Chapter 5. Hashes and Databases

    • Chapter 6. Modular Programming

    • Chapter 7. Building a Graphical User Interface

    • Chapter 8. Guis and Data

    • Chapter 8 ½. Exceptions and Message Boxes

    • Chapter 9. Graphical Interface Elements

Tài liệu cùng người dùng

Tài liệu liên quan