Rashi Gupta0471219754, 9780471219750, 9780471449386
Table of contents :
Making Use of Python……Page 2
Contents……Page 6
Introduction……Page 12
Features of Python……Page 13
Users and Application Areas of Python……Page 18
Python versus Other Languages……Page 19
How This Book Is Organized……Page 20
圀栀愀琀ᤠ猀 漀渀 琀栀攀 圀攀戀 匀椀琀攀……Page 22
Techsity University……Page 24
Fee Structure……Page 25
Future Direction……Page 26
Getting Started……Page 28
Obtain Python and Its Documentation……Page 29
Determine the System Requirements……Page 31
Install Python……Page 32
Start Python in Different Execution Modes……Page 34
Summary……Page 39
Getting Started with Python……Page 40
Writing Your First Python Program……Page 41
Comments……Page 42
Using Variables in Python……Page 43
Variables……Page 44
Assigning Values to Variables……Page 45
Standard Types……Page 46
Identifiers and Keywords……Page 66
Memory Management……Page 67
Write the Code to Display the Names of the Students……Page 69
Save and Execute the Code……Page 70
Summary……Page 71
Intrinsic Operations and Input/Output……Page 74
Using Input/Output Features and Intrinsic Operations for Data Types in Python……Page 75
Accepting User Input……Page 76
Formatting the Output……Page 77
Introduction to Intrinsic Operations……Page 82
Intrinsic Operations for Numeric Data Types……Page 84
Intrinsic Operations for Strings……Page 87
Intrinsic Operations for Lists and Tuples……Page 93
Execute the Code……Page 98
Summary……Page 100
Programming Basics……Page 102
Conditional Operators……Page 103
Order of Precedence of Operators……Page 109
Using Programming Constructs……Page 110
Identify the Control and Loop Statements to Be Used……Page 111
Write the Code……Page 121
Execute the Code……Page 122
Summary……Page 124
Functions……Page 126
Using Functions……Page 127
Functions……Page 128
Scope of Variables……Page 145
Write the Code……Page 146
Execute the Code……Page 148
Summary……Page 149
Modules……Page 150
Modules……Page 151
Packages……Page 162
Identify the Modules to Be Used……Page 163
Write the Code……Page 164
Execute the Code……Page 166
Summary……Page 167
Files……Page 168
Identify the Functions and Methods to Be Used……Page 169
Write the Code to Store Course Details to a File……Page 181
Verify the Solution……Page 182
Summary……Page 183
Object-Oriented Programming……Page 184
Introducing OOP……Page 185
Components of OOP……Page 186
Benefits of OOP……Page 187
Using Classes……Page 188
Identify the Classes to Be Defined……Page 189
Identifying the Class Objects……Page 190
Identifying the Classes to Be Inherited and Their Objects……Page 197
Identify the Methods to Be Overridden……Page 200
Write the Code……Page 209
Execute the Code……Page 216
Summary……Page 217
Getting Started……Page 220
Handling Exceptions……Page 221
Identify the Type of Error and Where the Error Occurs……Page 223
Identify the Mechanism of Trapping the Exception……Page 227
Write the Code for Handling the Exception……Page 236
Summary……Page 237
Getting Started……Page 240
Internet Basics……Page 241
Web Browsers……Page 244
Hypertext Transfer Protocol (HTTP)……Page 247
Revising HTML……Page 248
Client-Side versus Server-Side Scripting……Page 254
An Introduction to CGI……Page 256
Write the CGI Program in Python to Generate the Results Page……Page 258
Write the CGI Program to Generate Both the Form and Results Pages……Page 262
Execute the Code……Page 263
Summary……Page 265
Getting Started……Page 267
Database Management……Page 268
Introduction to MySQL……Page 269
Working with MySQL……Page 272
Accessing a Database from a Python Script……Page 280
Identify the Steps for Connecting to the Database……Page 282
Write the Code to Create a Table in the Database……Page 285
into the Table Created……Page 286
Execute the Code to Insert Data into the Table……Page 287
Verify the Data in the Database……Page 289
Summary……Page 290
Getting Started……Page 293
Client/Server Architecture……Page 294
Network Programming……Page 295
Identify the Sockets to Be Used……Page 298
Write the Code to Run on the IT Department Computer……Page 313
Write the Code to Run on the Admission Office Computer……Page 314
Execute the Code Created for the IT Department Computer……Page 315
Execute the Code Created for the Admission Office Computer……Page 316
Summary……Page 318
Getting Started……Page 323
Single-Threaded Applications……Page 324
Threading in Python……Page 325
Identify the Class and the Methods to Create a Multithreaded Application……Page 326
Write Code for the Server……Page 334
Write the Code for the Client……Page 335
Execute the Code Created for the Server……Page 336
Execute the Code Created for the Client……Page 337
Summary……Page 339
Advanced Web Programming……Page 341
Creating Web Servers……Page 342
Accessing URLs……Page 349
Assignment Details and Uploading the File……Page 354
Identify the Methodology for Uploading the File……Page 355
Identify the Methodology for Storing User Information……Page 356
Write the Code for the CGI Script……Page 361
Execute the CGI Script……Page 365
Summary……Page 366
Getting Started……Page 369
Introduction to Tkinter……Page 370
Creating a GUI Application……Page 373
Identify the Tkinter Widgets to Design the User Interface……Page 374
Write the Code for the User Interface……Page 386
Execute the Code……Page 388
Summary……Page 390
Basics of COM……Page 391
The Binary Standard……Page 393
COM Interfaces……Page 395
Binding……Page 396
Creating COM Clients……Page 397
Creating COM Servers……Page 399
End of Book……Page 403
Reviews
There are no reviews yet.