Learn Python The Hard Way | Page 7

Not Available
. . . . . . . . . . . .159
Exercise 48: Advanced User Input161 Our Game Lexicon. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .161
What You Should Test. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .163
Design Hints. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .165
Extra Credit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .165
Exercise 49: Making Sentences167 Match And Peek. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .167
The Sentence Grammar. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .168
A Word On Exceptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .170
What You Should Test. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .170
Extra Credit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .171 v

Exercise 50: Your First Website173
Installing lpthw.web. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .173
Make A Simple “Hello World” Project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .174
What's Going On?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .175
Fixing Errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .175
Create Basic Templates. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .176
Extra Credit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .178
Exercise 51: Getting Input From A Browser179 How The Web Works. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .179
How Forms Work. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .181
Creating HTML Forms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .182
Creating A Layout Template. . . . . . . . . . . . . . . . . . . . . . . . . . .
Continue reading on your phone by scaning this QR Code

 / 58
Tip: The current page has been bookmarked automatically. If you wish to continue reading later, just open the Dertz Homepage, and click on the 'continue reading' link at the bottom of the page.