<?xml version="1.0" encoding="utf-8" ?> <rss version="2.0" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <title> <![CDATA[St. Xavier's University Library Search for 'su:&quot;Python&quot;']]> </title> <link> /cgi-bin/koha/opac-search.pl?q=ccl=su%3A%22Python%22&#38;sort_by=relevance&#38;format=rss </link> <atom:link rel="self" type="application/rss+xml" href="/cgi-bin/koha/opac-search.pl?q=ccl=su%3A%22Python%22&#38;sort_by=relevance&#38;format=rss"/> <description> <![CDATA[ Search results for 'su:&quot;Python&quot;' at St. Xavier's University Library]]> </description> <opensearch:totalResults>30</opensearch:totalResults> <opensearch:startIndex>0</opensearch:startIndex> <opensearch:itemsPerPage>50</opensearch:itemsPerPage> <atom:link rel="search" type="application/opensearchdescription+xml" href="/cgi-bin/koha/opac-search.pl?q=ccl=su%3A%22Python%22&#38;sort_by=relevance&#38;format=opensearchdescription"/> <opensearch:Query role="request" searchTerms="q%3Dccl%3Dsu%253A%2522Python%2522" startPage="" /> <item> <title> Introduction to computing and problem solving using python </title> <dc:identifier>ISBN:9789352602582</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=5512</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9352602587.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Balagurusamy, E.<br /> Chenna McGraw Hill Education 2017 .<br /> xi, 321p. 9789352602582 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=5512">Place hold on <em>Introduction to computing and problem solving using python</em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=5512</guid> </item> <item> <title> Python : for beginners </title> <dc:identifier>ISBN:9789352138753</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=7432</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9352138759.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Borate, Rahul E. .<br /> Kolkata Shroff publishers &amp; distributors 2019 .<br /> xiii, 137 , Table of Content CHAPTER 1: INTRODUCTION TO PYTHON .......................................1 1.1 Getting Started: Introduction to Python- an interpreted high level language, interactive mode and script mode .................................................. 2 1.2 Variables and Types-mutable and Immutable variable and Keywords ...... 6 1.3 Operators and Operands in Python .................................................................. 7 1.4 Operator precedence, Expressions and Statements (Assignment statement) .....................................................................................11 1.5 Taking input (using raw_input() and input()) and displaying output - print statement ................................................................ 12 1.6 Comments in Python ......................................................................................... 13 Exercise ................................................................................................................ 14 CHAPTER 2: CONDITIONAL AND LOOPING CONSTRUCT ..............15 2.1 if - else statement and nested if – else while, for, use of range function in for, Nested loops ............................................................................ 16 2.2 break, continue, pass statement ....................................................................... 24 2.3 Use of Compound Expression in conditional construct .............................. 26 2.4 Built-In Function, invoking built in functions ............................................... 27 2.5 Functions from Math, Random, Time &amp; Date Module ................................ 29 2.6 Module (Importing entire module or selected objects using from statement) .......................................................................... 33 2.7 Composition ....................................................................................................... 33 2.8 User Defined Function: Defining, invoking functions, passing parameters (default parameter values, keyword arguments) ......................................... 34 2.9 Scope of Variables, Void Functions and Functions Returning Values Scope of Variables ................................................................................. 38 Exercise ................................................................................................................ 43 xii Python Programming for Beginners CHAPTER 3: STRINGS .......................................................45 3.1 Creating, Initializing and Accessing the Elements ....................................... 46 3.2 String Operators ................................................................................................. 48 3.3 String built in functions &amp; methods: ............................................................... 51 Exercise ................................................................................................................ 67 CHAPTER 4: STRUCTURED PROGRAMMING: ITERATION CONTROL FLOW ...........................................................69 4.1 Concept of Mutable Lists, Creating, Initializing and Accessing the Elements of List ........................................................................ 70 4.2 List Operations (Concatenation, Repetition, Membership, List Slices), List Comprehensions .................................................................... 72 4.3 List Functions &amp; Methods: append, extend, sort, remove, reverse, pop ......................................................................................... 74 4.4 Immutable concept, creating, initializing and accessing the elements in a tuple ..................................................................... 78 4.5 Tuple Functions: cmp(), len(), max(), min(), tuple() ..................................... 79 4.6 Concept of Sets, Creating, Initializing and Accessing the Elements of Sets ........................................................................ 82 4.7 Sets Operation (Membership, Union, Intersection, Difference, and Symmetric Difference) ............................................................................... 83 4.8 Concept of Key-Value Pair, Creating, Initializing and Accessing the Elements in a Dictionary ......................................................... 85 4.9 Traversing, Appending, Updating and Deleting Elements ......................... 87 4.10 Dictionary Functions &amp; Methods: cmp, len, clear(), has_key(), items(), keys(), update(), values() ................................................. 88 Exercise ................................................................................................................ 92 CHAPTER 5: MODULES .....................................................................93 5.1 Concept of Module: Executing Modules as Scripts, the Module Search Path, “Compiled” Python Files, Standard Modules: What is Module? ............................................................. 94 Table of Content xiii 5.2 The dir() Function ................................................................................................ 97 5.3 Package ................................................................................................................. 98 Exercise ...................................................................................................................... 101 CHAPTER 6: I/O AND FILE HANDLING .........................................103 6.1 Output Formatting: .......................................................................................... 104 6.2 Filenames and Paths:........................................................................................ 106 6.3 Reading and Writing Files:.............................................................................. 109 Exercise:.......................................................................................................................113 CHAPTER 7: ERRORS AND EXCEPTIONS .......................................115 7.1 Syntax Errors, Exceptions:................................................................................116 7.2 Handling Exceptions:........................................................................................118 7.3 Python Exception(Except with No Exception) Example: .......................... 120 7.4 Raise an Exception:........................................................................................... 123 7.5 User-defined Exceptions:................................................................................. 124 7.6 Clean-Up Actions (Try ... Finally):.................................................................. 125 Exercise:...................................................................................................................... 128 CHAPTER 8: INTRODUCTION TO OBJECT ORIENTED CONCEPTS IN PYTHON ..................................................................129 8.1 Object Oriented concepts ................................................................................ 130 8.3 Classes, Class Objects, Instance Objects, Method Objects, Class and Instance Variables: Class and Instance Variables in Python ...................... 131 8.4 Inheritance ........................................................................................................ 134 Exercise ...................................................................................................................... 137 9789352138753 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=7432">Place hold on <em>Python </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=7432</guid> </item> <item> <title> Python : for beginners </title> <dc:identifier>ISBN:9789352138753</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=7433</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9352138759.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Borate, Rahul E. .<br /> Kolkata Shroff publishers &amp; distributors 2019 .<br /> xiii, 137 , Table of Content CHAPTER 1: INTRODUCTION TO PYTHON .......................................1 1.1 Getting Started: Introduction to Python- an interpreted high level language, interactive mode and script mode .................................................. 2 1.2 Variables and Types-mutable and Immutable variable and Keywords ...... 6 1.3 Operators and Operands in Python .................................................................. 7 1.4 Operator precedence, Expressions and Statements (Assignment statement) .....................................................................................11 1.5 Taking input (using raw_input() and input()) and displaying output - print statement ................................................................ 12 1.6 Comments in Python ......................................................................................... 13 Exercise ................................................................................................................ 14 CHAPTER 2: CONDITIONAL AND LOOPING CONSTRUCT ..............15 2.1 if - else statement and nested if – else while, for, use of range function in for, Nested loops ............................................................................ 16 2.2 break, continue, pass statement ....................................................................... 24 2.3 Use of Compound Expression in conditional construct .............................. 26 2.4 Built-In Function, invoking built in functions ............................................... 27 2.5 Functions from Math, Random, Time &amp; Date Module ................................ 29 2.6 Module (Importing entire module or selected objects using from statement) .......................................................................... 33 2.7 Composition ....................................................................................................... 33 2.8 User Defined Function: Defining, invoking functions, passing parameters (default parameter values, keyword arguments) ......................................... 34 2.9 Scope of Variables, Void Functions and Functions Returning Values Scope of Variables ................................................................................. 38 Exercise ................................................................................................................ 43 xii Python Programming for Beginners CHAPTER 3: STRINGS .......................................................45 3.1 Creating, Initializing and Accessing the Elements ....................................... 46 3.2 String Operators ................................................................................................. 48 3.3 String built in functions &amp; methods: ............................................................... 51 Exercise ................................................................................................................ 67 CHAPTER 4: STRUCTURED PROGRAMMING: ITERATION CONTROL FLOW ...........................................................69 4.1 Concept of Mutable Lists, Creating, Initializing and Accessing the Elements of List ........................................................................ 70 4.2 List Operations (Concatenation, Repetition, Membership, List Slices), List Comprehensions .................................................................... 72 4.3 List Functions &amp; Methods: append, extend, sort, remove, reverse, pop ......................................................................................... 74 4.4 Immutable concept, creating, initializing and accessing the elements in a tuple ..................................................................... 78 4.5 Tuple Functions: cmp(), len(), max(), min(), tuple() ..................................... 79 4.6 Concept of Sets, Creating, Initializing and Accessing the Elements of Sets ........................................................................ 82 4.7 Sets Operation (Membership, Union, Intersection, Difference, and Symmetric Difference) ............................................................................... 83 4.8 Concept of Key-Value Pair, Creating, Initializing and Accessing the Elements in a Dictionary ......................................................... 85 4.9 Traversing, Appending, Updating and Deleting Elements ......................... 87 4.10 Dictionary Functions &amp; Methods: cmp, len, clear(), has_key(), items(), keys(), update(), values() ................................................. 88 Exercise ................................................................................................................ 92 CHAPTER 5: MODULES .....................................................................93 5.1 Concept of Module: Executing Modules as Scripts, the Module Search Path, “Compiled” Python Files, Standard Modules: What is Module? ............................................................. 94 Table of Content xiii 5.2 The dir() Function ................................................................................................ 97 5.3 Package ................................................................................................................. 98 Exercise ...................................................................................................................... 101 CHAPTER 6: I/O AND FILE HANDLING .........................................103 6.1 Output Formatting: .......................................................................................... 104 6.2 Filenames and Paths:........................................................................................ 106 6.3 Reading and Writing Files:.............................................................................. 109 Exercise:.......................................................................................................................113 CHAPTER 7: ERRORS AND EXCEPTIONS .......................................115 7.1 Syntax Errors, Exceptions:................................................................................116 7.2 Handling Exceptions:........................................................................................118 7.3 Python Exception(Except with No Exception) Example: .......................... 120 7.4 Raise an Exception:........................................................................................... 123 7.5 User-defined Exceptions:................................................................................. 124 7.6 Clean-Up Actions (Try ... Finally):.................................................................. 125 Exercise:...................................................................................................................... 128 CHAPTER 8: INTRODUCTION TO OBJECT ORIENTED CONCEPTS IN PYTHON ..................................................................129 8.1 Object Oriented concepts ................................................................................ 130 8.3 Classes, Class Objects, Instance Objects, Method Objects, Class and Instance Variables: Class and Instance Variables in Python ...................... 131 8.4 Inheritance ........................................................................................................ 134 Exercise ...................................................................................................................... 137 9789352138753 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=7433">Place hold on <em>Python </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=7433</guid> </item> <item> <title> Head first python </title> <dc:identifier>ISBN:9789352134823</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=7434</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9352134826.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Barry, Paul .<br /> Kolkata Shroff publishers &amp; distributors 2017 .<br /> xxxviii, 584 , Includes appendix &amp; index Table of Contents (Summary) 1 The Basics: Getting Started Quickly 1 2 List Data: Working with Ordered Data 47 3 Structured Data: Working with Structured Data 95 4 Code Reuse: Functions and Modules 145 5 Building a Webapp: Getting Real 195 6 Storing and Manipulating Data: Where to Put Your Data 243 7 Using a Database: Putting Python’s DB-API to Use 281 8 A Little Bit of Class: Abstracting Behavior and State 309 9 The Context Management Protocol: Hooking into Python’s with Statement 335 10 Function Decorators: Wrapping Functions 363 11 Exception Handling: What to Do When Things Go Wrong 413 11¾ A Little Bit of Threading: Dealing with Waiting 461 12 Advanced Iteration: Looping like Crazy 477 A Installing: Installing Python 521 B Pythonanywhere: Deploying Your Webapp 529 C Top Ten Things We Didn’t Cover: There’s Always More to Learn 539 D Top Ten Projects Not Covered: Even More Tools, Libraries, and Modules 551 E Getting Involved: The Python Community 563 Table of Contents (the real thing) Your brain on Python. Here you are trying to learn something, while here your brain is, doing you a favor by making sure the learning doesn’t stick. Your brain’s thinking, “Better leave room for more important things, like which wild animals to avoid and whether naked snowboarding is a bad idea.” So how do you trick your brain into thinking that your life depends on knowing how to program in Python? Intro Who is this book for? xxviii We know what you’re thinking xxix We know what your brain is thinking xxix Metacognition: thinking about thinking xxxi Here’s what WE did xxxii Read me xxxiv Acknowledgments xxxvii table of contents x the basics Getting Started Quickly Get going with Python programming as quickly as possible. In this chapter, we introduce the basics of programming in Python, and we do this in typical Head First style: by jumping right in. After just a few pages, you’ll have run your first sample program. By the end of the chapter, you’ll not only be able to run the sample program, but you’ll understand its code too (and more besides). Along the way, you’ll learn about a few of the things that make Python the programming language it is. Understanding IDLE’s Windows 4 Executing Code, One Statement at a Time 8 Functions + Modules = The Standard Library 9 Data Structures Come Built-in 13 Invoking Methods Obtains Results 14 Deciding When to Run Blocks of Code 15 What “else” Can You Have with “if ”? 17 Suites Can Contain Embedded Suites 18 Returning to the Python Shell 22 Experimenting at the Shell 23 Iterating Over a Sequence of Objects 24 Iterating a Specific Number of Times 25 Applying the Outcome of Task #1 to Our Code 26 Arranging to Pause Execution 28 Generating Random Integers with Python 30 Coding a Serious Business Application 38 Is Indentation Driving You Crazy? 40 Asking the Interpreter for Help on a Function 41 Experimenting with Ranges 42 Chapter 1’s Code 46 1 table of contents xi list data Working with Data All programs process data, and Python programs are no exception. In fact, take a look around: data is everywhere. A lot of, if not most, programming is all about data: acquiring data, processing data, understanding data. To work with data effectively, you need somewhere to put your data when processing it. Python shines in this regard, thanks (in no small part) to its inclusion of a handful of widely applicable data structures: lists, dictionaries, tuples, and sets. In this chapter, we’ll preview all four, before spending the majority of this chapter digging deeper into lists (and we’ll deep-dive into the other three in the next chapter). We’re covering these data structures early, as most of what you’ll likely do with Python will revolve around working with data. 0 D -12 1 o -11 2 n -10 3 ' -9 4 t -8 5 -7 6 p -6 7 a -5 8 n -4 9 i -3 10 c -2 11 ! -1 Numbers, Strings...and Objects 48 Meet the Four Built-in Data Structures 50 An Unordered Data Structure: Dictionary 52 A Data Structure That Avoids Duplicates: Set 53 Creating Lists Literally 55 Use Your Editor When Working on More Than a Few Lines of Code 57 “Growing” a List at Runtime 58 Checking for Membership with “in” 59 Removing Objects from a List 62 Extending a List with Objects 64 Inserting an Object into a List 65 How to Copy a Data Structure 73 Lists Extend the Square Bracket Notation 75 Lists Understand Start, Stop, and Step 76 Starting and Stopping with Lists 78 Putting Slices to Work on Lists 80 Python’s “for” Loop Understands Lists 86 Marvin’s Slices in Detail 88 When Not to Use Lists 91 Chapter 2’s Code, 1 of 2 92 2 table of contents xii Name: Ford Prefect Gender: Male Occupation: Researcher Home Planet: Betelgeuse Seven structured data Working with Structured Data Python’s list data structure is great, but it isn’t a data panacea. When you have truly structured data (and using a list to store it may not be the best choice), Python comes to your rescue with its built-in dictionary. Out of the box, the dictionary lets you store and manipulate any collection of key/value pairs. We look long and hard at Python’s dictionary in this chapter, and—along the way—meet set and tuple, too. Together with the list (which we met in the previous chapter), the dictionary, set, and tuple data structures provide a set of built-in data tools that help to make Python and data a powerful combination. A Dictionary Stores Key/Value Pairs 96 How to Spot a Dictionary in Code 98 Insertion Order Is NOT Maintained 99 Value Lookup with Square Brackets 100 Working with Dictionaries at Runtime 101 Updating a Frequency Counter 105 Iterating Over a Dictionary 107 Iterating Over Keys and Values 108 Iterating Over a Dictionary with “items” 110 Just How Dynamic Are Dictionaries? 114 Avoiding KeyErrors at Runtime 116 Checking for Membership with “in” 117 Ensuring Initialization Before Use 118 Substituting “not in” for “in” 119 Putting the “setdefault” Method to Work 120 Creating Sets Efficiently 124 Taking Advantage of Set Methods 125 Making the Case for Tuples 132 Combining the Built-in Data Structures 135 Accessing a Complex Data Structure’s Data 141 Chapter 3’s Code, 1 of 2 143 3 table of contents xiii module code reuse Functions and Modules Reusing code is key to building a maintainable system. And when it comes to reusing code in Python, it all starts and ends with the humble function. Take some lines of code, give them a name, and you’ve got a function (which can be reused). Take a collection of functions and package them as a file, and you’ve got a module (which can also be reused). It’s true what they say: it’s good to share, and by the end of this chapter, you’ll be well on your way to sharing and reusing your code, thanks to an understanding of how Python’s functions and modules work. Reusing Code with Functions 146 Introducing Functions 147 Invoking Your Function 150 Functions Can Accept Arguments 154 Returning One Value 158 Returning More Than One Value 159 Recalling the Built-in Data Structures 161 Making a Generically Useful Function 165 Creating Another Function, 1 of 3 166 Specifying Default Values for Arguments 170 Positional Versus Keyword Assignment 171 Updating What We Know About Functions 172 Running Python from the Command Line 175 Creating the Required Setup Files 179 Creating the Distribution File 180 Installing Packages with “pip” 182 Demonstrating Call-by-Value Semantics 185 Demonstrating Call-by-Reference Semantics 186 Install the Testing Developer Tools 190 How PEP 8–Compliant Is Our Code? 191 Understanding the Failure Messages 192 Chapter 4’s Programs 194 4 table of contents xiv building a webapp Getting Real At this stage, you know enough Python to be dangerous. With this book’s first four chapters behind you, you’re now in a position to productively use Python within any number of application areas (even though there’s still lots of Python to learn). Rather than explore the long list of what these application areas are, in this and subsequent chapters, we’re going to structure our learning around the development of a web-hosted application, which is an area where Python is especially strong. Along the way, you’ll learn a bit more about Python. Python: What You Already Know 196 What Do We Want Our Webapp to Do? 200 Let’s Install Flask 202 How Does Flask Work? 203 Running Your Flask Webapp for the First Time 204 Creating a Flask Webapp Object 206 Decorating a Function with a URL 207 Running Your Webapp’s Behavior(s) 208 Exposing Functionality to the Web 209 Building the HTML Form 213 Templates Relate to Web Pages 216 Rendering Templates from Flask 217 Displaying the Webapp’s HTML Form 218 Preparing to Run the Template Code 219 Understanding HTTP Status Codes 222 Handling Posted Data 223 Refining the Edit/Stop/Start/Test Cycle 224 Accessing HTML Form Data with Flask 226 Using Request Data in Your Webapp 227 Producing the Results As HTML 229 Preparing Your Webapp for the Cloud 238 Chapter 5’s Code 241 5 table of contents xv Form Data Remote_addr User_agent Results ImmutableMultiDict([(‘phrase’, 127.0.0.1 Mozilla/5.0 (Macintosh; {‘e’, ‘i’} ‘hitch-hiker’), (‘letters’, ‘aeiou’)]) Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526 .106 Safari/537.36 storing and manipulating data Where to Put Your Data Sooner or later, you’ll need to safely store your data somewhere. And when it comes to storing data, Python has you covered. In this chapter, you’ll learn about storing and retrieving data from text files, which—as storage mechanisms go—may feel a bit simplistic, but is nevertheless used in many problem areas. As well as storing and retrieving your data from files, you’ll also learn some tricks of the trade when it comes to manipulating data. We’re saving the “serious stuff” (storing data in a database) until the next chapter, but there’s plenty to keep us busy for now when working with files. Doing Something with Your Webapp’s Data 244 Python Supports Open, Process, Close 245 Reading Data from an Existing File 246 A Better Open, Process, Close: “with” 248 View the Log Through Your Webapp 254 Examine the Raw Data with View Source 256 It’s Time to Escape (Your Data) 257 Viewing the Entire Log in Your Webapp 258 Logging Specific Web Request Attributes 261 Log a Single Line of Delimited Data 262 From Raw Data to Readable Output 265 Generate Readable Output With HTML 274 Embed Display Logic in Your Template 275 Producing Readable Output with Jinja2 276 The Current State of Our Webapp Code 278 Asking Questions of Your Data 279 Chapter 6’s Code 280 6 table of contents xvi Python’s DB-API The MySQLConnector/Python Driver MySQL Your code using a database Putting Python’s DB-API to Use Storing data in a relational database system is handy. In this chapter, you’ll learn how to write code that interacts with the popular MySQL database technology, using a generic database API called DB-API. The DB-API (which comes standard with every Python install) allows you to write code that is easily transferred from one database product to the next... assuming your database talks SQL. Although we’ll be using MySQL, there’s nothing stopping you from using your DB-API code with your favorite relational database, whatever it may be. Let’s see what’s involved in using a relational database with Python. There’s not a lot of new Python in this chapter, but using Python to talk to databases is a big deal, so it’s well worth learning. Database-Enabling Your Webapp 282 Task 1: Install the MySQL Server 283 Introducing Python’s DB-API 284 Task 2: Install a MySQL Database Driver for Python 285 Install MySQL-Connector/Python 286 Task 3: Create Our Webapp’s Database and Tables 287 Decide on a Structure for Your Log Data 288 Confirm Your Table Is Ready for Data 289 Task 4: Create Code to Work with Our Webapp’s Database and Tables 296 Storing Data Is Only Half the Battle 300 How Best to Reuse Your Database Code? 301 Consider What You’re Trying to Reuse 302 What About That Import? 303 You’ve Seen This Pattern Before 305 The Bad News Isn’t Really All That Bad 306 Chapter 7’s Code 307 7 table of contents xvii a little bit of class Abstracting Behavior and State Classes let you bundle code behavior and state together. In this chapter, you’re setting your webapp aside while you learn about creating Python classes. You’re doing this in order to get to the point where you can create a context manager with the help of a Python class. As creating and using classes is such a useful thing to know about anyway, we’re dedicating this chapter to them. We won’t cover everything about classes, but we’ll touch on all the bits you’ll need to understand in order to confidently create the context manager your webapp is waiting for. Hooking into the “with” Statement 310 An Object-Oriented Primer 311 Creating Objects from Classes 312 Objects Share Behavior but Not State 313 Doing More with CountFromBy 314 Invoking a Method: Understand the Details 316 Adding a Method to a Class 318 The Importance of “self ” 320 Coping with Scoping 321 Prefix Your Attribute Names with “self ” 322 Initialize (Attribute) Values Before Use 323 Dunder “init” Initializes Attributes 324 Initializing Attributes with Dunder “init” 325 Understanding CountFromBy’s Representation 328 Defining CountFromBy’s Representation 329 Providing Sensible Defaults for CountFromBy 330 Classes: What We Know 332 Chapter 8’s Code 333 8 table of contents xviii § $ mysql -u vsearch -p vsearchlogDB Enter password: Welcome to MySQL monitor... mysql&gt; select * from log; +----+---------------------+--------------------------+---------+-----------+----------------+----------------------+ | id | ts | phrase | letters | ip | browser_string | results | +----+---------------------+--------------------------+---------+-----------+----------------+----------------------+ | 1 | 2016-03-09 13:40:46 | life, the uni ... ything | aeiou | 127.0.0.1 | firefox | {'u', 'e', 'i', 'a'} | | 2 | 2016-03-09 13:42:07 | hitch-hiker | aeiou | 127.0.0.1 | safari | {'i', 'e'} | | 3 | 2016-03-09 13:42:15 | galaxy | xyz | 127.0.0.1 | chrome | {'y', 'x'} | | 4 | 2016-03-09 13:43:07 | hitch-hiker | xyz | 127.0.0.1 | firefox | set() | +----+---------------------+--------------------------+---------+-----------+----------------+----------------------+ 4 rows in set (0.0 sec) mysql&gt; quit Bye File Edit Window Help Checking our log DB the context management protocol Hooking into Python’s with Statements It’s time to take what you’ve just learned and put it to work. Chapter 7 discussed using a relational database with Python, while Chapter 8 provided an introduction to using classes in your Python code. In this chapter, both of these techniques are combined to produce a context manager that lets us extend the with statement to work with relational database systems. In this chapter, you’ll hook into the with statement by creating a new class, which conforms to Python’s context management protocol. What’s the Best Way to Share Our Webapp’s Database Code? 336 Managing Context with Methods 338 You’ve Already Seen a Context Manager in Action 339 Create a New Context Manager Class 340 Initialize the Class with the Database Config 341 Perform Setup with Dunder “enter” 343 Perform Teardown with Dunder “exit” 345 Reconsidering Your Webapp Code, 1 of 2 348 Recalling the “log_request” Function 350 Amending the “log_request” Function 351 Recalling the “view_the_log” Function 352 It’s Not Just the Code That Changes 353 Amending the “view_the_log” Function 354 Answering the Data Questions 359 Chapter 9’s Code, 1 of 2 360 9 table of contents xix function decorators Wrapping Functions When it comes to augmenting your code, Chapter 9’s context management protocol is not the only game in town. Python also lets you use function decorators, a technique whereby you can add code to an existing function without having to change any of the existing function’s code. If you think this sounds like some sort of black art, don’t despair: it’s nothing of the sort. However, as coding techniques go, creating a function decorator is often considered to be on the harder side by many Python programmers, and thus is not used as often as it should be. In this chapter, our plan is to show you that, despite being an advanced technique, creating and using your own decorators is not that hard. Your Web Server (Not Your Computer) Runs Your Code 366 Flask’s Session Technology Adds State 368 Dictionary Lookup Retrieves State 369 Managing Logins with Sessions 374 Let’s Do Logout and Status Checking 377 Pass a Function to a Function 386 Invoking a Passed Function 387 Accepting a List of Arguments 390 Processing a List of Arguments 391 Accepting a Dictionary of Arguments 392 Processing a Dictionary of Arguments 393 Accepting Any Number and Type of Function Arguments 394 Creating a Function Decorator 397 The Final Step: Handling Arguments 401 Putting Your Decorator to Work 404 Back to Restricting Access to /viewlog 408 Chapter 10’s Code, 1 of 2 410 10 table of contents xx ... Exception +-- StopIteration +-- StopAsyncIteration +-- ArithmeticError | +-- FloatingPointError | +-- OverflowError | +-- ZeroDivisionError +-- AssertionError +-- AttributeError +-- BufferError +-- EOFError ... exception handling What to Do When Things Go Wrong Things go wrong, all the time—no matter how good your code is. You’ve successfully executed all of the examples in this book, and you’re likely confident all of the code presented thus far works. But does this mean the code is robust? Probably not. Writing code based on the assumption that nothing bad ever happens is (at best) naive. At worst, it’s dangerous, as unforeseen things do (and will) happen. It’s much better if you’re wary while coding, as opposed to trusting. Care is needed to ensure your code does what you want it to, as well as reacts properly when things go south. Databases Aren’t Always Available 418 Web Attacks Are a Real Pain 419 Input-Output Is (Sometimes) Slow 420 Your Function Calls Can Fail 421 Always Try to Execute Error-Prone Code 423 try Once, but except Many Times 426 The Catch-All Exception Handler 428 Learning About Exceptions from “sys” 430 The Catch-All Exception Handler, Revisited 431 Getting Back to Our Webapp Code 433 Silently Handling Exceptions 434 Handling Other Database Errors 440 Avoid Tightly Coupled Code 442 The DBcm Module, Revisited 443 Creating Custom Exceptions 444 What Else Can Go Wrong with “DBcm”? 448 Handling SQLError Is Different 451 Raising an SQLError 453 A Quick Recap: Adding Robustness 455 How to Deal with Wait? It Depends... 456 Chapter 11’s Code, 1 of 3 457 11 table of contents xxi Wait! a little bit of threading Dealing with Waiting Your code can sometimes take a long time to execute. Depending on who notices, this may or may not be an issue. If some code takes 30 seconds to do its thing “behind the scenes,” the wait may not be an issue. However, if your user is waiting for your application to respond, and it takes 30 seconds, everyone notices. What you should do to fix this problem depends on what you’re trying to do (and who’s doing the waiting). In this short chapter, we’ll briefly discuss some options, then look at one solution to the issue at hand: what happens if something takes too long? Waiting: What to Do? 462 How Are You Querying Your Database? 463 Database INSERTs and SELECTs Are Different 464 Doing More Than One Thing at Once 465 Don’t Get Bummed Out: Use Threads 466 First Things First: Don’t Panic 470 Don’t Get Bummed Out: Flask Can Help 471 Is Your Webapp Robust Now? 474 Chapter 11¾’s Code, 1 of 2 475 113 /4 table of contents xxii advanced iteration Looping Like Crazy It’s often amazing how much time our programs spend in loops. This isn’t a surprise, as most programs exist to perform something quickly a whole heap of times. When it comes to optimizing loops, there are two approaches: (1) improve the loop syntax (to make it easier to specify a loop), and (2) improve how loops execute (to make them go faster). Early in the lifetime of Python 2 (that is, a long, long time ago), the language designers added a single language feature that implements both approaches, and it goes by a rather strange name: comprehension. Reading CSV Data As Lists 479 Reading CSV Data As Dictionaries 480 Stripping, Then Splitting, Your Raw Data 482 Be Careful When Chaining Method Calls 483 Transforming Data into the Format You Need 484 Transforming into a Dictionary Of Lists 485 Spotting the Pattern with Lists 490 Converting Patterns into Comprehensions 491 Take a Closer Look at the Comprehension 492 Specifying a Dictionary Comprehension 494 Extend Comprehensions with Filters 495 Deal with Complexity the Python Way 499 The Set Comprehension in Action 505 What About “Tuple Comprehensions”? 507 Parentheses Around Code == Generator 508 Using a Listcomp to Process URLs 509 Using a Generator to Process URLs 510 Define What Your Function Needs to Do 512 Yield to the Power of Generator Functions 513 Tracing Your Generator Function, 1 of 2 514 One Final Question 518 Chapter 12’s Code 519 It’s Time to Go… 520 12 table of contents xxiii installation Installing Python pythonanywhere Deploying Your Webapp First things first: let’s get Python installed on your computer. Whether you’re running on Windows, Mac OS X, or Linux, Python’s got you covered. How you install it on each of these platforms is specific to how things work on each of these operating systems (we know...a shocker, eh?), and the Python community works hard to provide installers that target all the popular systems. In this short appendix, you’ll be guided through installing Python on your computer. At the end of Chapter 5, we claimed that deploying your webapp to the cloud was only 10 minutes away. It’s now time to make good on that promise. In this appendix, we are going to take you through the process of deploying your webapp on PythonAnywhere, going from zero to deployed in about 10 minutes. PythonAnywhere is a favorite among the Python programming community, and it’s not hard to see why: it works exactly as you’d expect it to, has great support for Python (and Flask), and—best of all—you can get started hosting your webapp at no cost. Install Python 3 on Windows 522 Check Python 3 on Windows 523 Add to Python 3 on Windows 524 Install Python 3 on Mac OS X (macOS) 525 Check and Configure Python 3 on Mac OS X 526 Install Python 3 on Linux 527 Step 0: A Little Prep 530 Step 1: Sign Up for PythonAnywhere 531 Step 2: Upload Your Files to the Cloud 532 Step 3: Extract and Install Your Code 533 Step 4: Create a Starter Webapp, 1 of 2 534 Step 5: Configure Your Webapp 536 Step 6: Take Your Cloud-Based Webapp for a Spin! 537 a b table of contents xxiv top ten things we didn’t cover There’s Always More to Learn It was never our intention to try to cover everything. This book’s goal was always to show you enough Python to get you up to speed as quickly as possible. There’s a lot more we could’ve covered, but didn’t. In this appendix, we discuss the top 10 things that—given another 600 pages or so—we would’ve eventually gotten around to. Not all of the 10 things will interest you, but quickly flip through them just in case we’ve hit on your sweet spot, or provided an answer to that nagging question. All the programming technologies in this appendix come baked in to Python and its interpreter. 1. What About Python 2? 540 2. Virtual Programming Environments 541 3. More on Object Orientation 542 4. Formats for Strings and the Like 543 5. Getting Things Sorted 544 6. More from the Standard Library 545 7. Running Your Code Concurrently 546 8. GUIs with Tkinter (and Fun with Turtles) 547 9. It’s Not Over ’Til It’s Tested 548 10. Debug, Debug, Debug 549 c table of contents xxv top ten projects not covered Even More Tools, Libraries, and Modules We know what you’re thinking as you read this appendix’s title. Why on Earth didn’t they make the title of the last appendix: The Top Twenty Things We Didn’t Cover? Why another 10? In the last appendix, we limited our discussion to stuff that comes baked in to Python (part of the language’s “batteries included”). In this appendix, we cast the net much further afield, discussing a whole host of technologies that are available to you because Python exists. There’s lots of good stuff here and—just like with the last appendix—a quick perusal won’t hurt you one single bit. 1. Alternatives to &gt;&gt;&gt; 552 2. Alternatives to IDLE 553 3. Jupyter Notebook: The Web-Based IDE 554 4. Doing Data Science 555 5. Web Development Technologies 556 6. Working with Web Data 557 7. More Data Sources 558 8. Programming Tools 559 9. Kivy: Our Pick for “Coolest Project Ever” 560 10. Alternative Implementations 561 d table of contents xxvi getting involved The Python Community Python is much more than a great programming language. It’s a great community, too. The Python Community is welcoming, diverse, open, friendly, sharing, and giving. We’re just amazed that no one, to date, has thought to put that on a greeting card! Seriously, though, there’s more to programming in Python than the language. An entire ecosystem has grown up around Python, in the form of excellent books, blogs, websites, conferences, meetups, user groups, and personalities. In this appendix, we take a survey of the Python community and see what it has to offer. Don’t just sit around programming on your own: get involved! BDFL: Benevolent Dictator for Life 564 A Tolerant Community: Respect for Diversity 565 Python Podcasts 566 The Zen of Python 567 Which Book Should I Read Next? 568 Our Favorite Python Books 569 9789352134823 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=7434">Place hold on <em>Head first python </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=7434</guid> </item> <item> <title> Programming in python 3 : A complete introduction to the python language </title> <dc:identifier>ISBN:9789352869176</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=7465</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9352869176.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Summerfield, Mark .<br /> Delhi Pearson 2018 .<br /> xvii, 630 , Includes index &amp; selected bibliography 9789352869176 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=7465">Place hold on <em>Programming in python 3 </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=7465</guid> </item> <item> <title> Introduction to machine learning with python : a guide for data sciences </title> <dc:identifier>ISBN:9789352134571</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=7469</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9352134575.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Muller, Andreas C. .<br /> Kolkata Shroff publishers 2022 .<br /> xii, 378 , Includes index 9789352134571 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=7469">Place hold on <em>Introduction to machine learning with python </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=7469</guid> </item> <item> <title> Linear models with python </title> <dc:identifier>ISBN:9781138483958</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=7553</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/1138483958.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Faraway, Julian J. .<br /> Oxon CRC Press 2021 .<br /> x, 298 , 1.Introduction 2.Estimation 3.Inference 4.Prediction 5.Explanation 6.Diagnostics 7.Problems with the Predictors 8.Problems with the Errors 9.Transformation 10.Model Selection 11.Shrinkage Methods 12.Insurance Redlining —A Complete Example 13.Missing Data 14.Categorical Predictors 15.One Factor Models 16.Models with Several Factors 17.Experiments with Blocks 18.About Python 9781138483958 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=7553">Place hold on <em>Linear models with python </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=7553</guid> </item> <item> <title> Deep learning with Python </title> <dc:identifier>ISBN:9781617296864</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=9718</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/1617296864.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Chollet, Francois .<br /> Shelter Island Manning 2021 .<br /> xxiv, 478 9781617296864 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=9718">Place hold on <em>Deep learning with Python </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=9718</guid> </item> <item> <title> Pro deep learning with TensorFlow 2.0 : A mathematical approach to advanced artificial intelligence in Python </title> <dc:identifier>ISBN:9781484294406</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=9997</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/1484294408.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Pattanayak, Santanu .<br /> New York Apress 2023 .<br /> xx, 652 , Includes index 9781484294406 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=9997">Place hold on <em>Pro deep learning with TensorFlow 2.0</em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=9997</guid> </item> <item> <title> Data analytics using Python </title> <dc:identifier>ISBN:9788126502950</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=10422</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/8126502959.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Motwani, Bharti .<br /> New Delhi Wiley 2020 .<br /> xxvi, 734 , Includes index 9788126502950 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=10422">Place hold on <em>Data analytics using Python </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=10422</guid> </item> <item> <title> Python for data science </title> <dc:identifier>ISBN:9789354243479</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=10428</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9354243479.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Hameed, Mohd Abdul.<br /> New Delhi Wiley 2021 .<br /> 273p. , includes index 9789354243479 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=10428">Place hold on <em>Python for data science</em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=10428</guid> </item> <item> <title> Bioinformatics with Python cookbook </title> <dc:identifier>ISBN:9781803236421</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=10724</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/1803236426.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Antao, Tiago .<br /> Mumbai Packt 2022 .<br /> xviii, 340 , Includes index 9781803236421 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=10724">Place hold on <em>Bioinformatics with Python cookbook </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=10724</guid> </item> <item> <title> Python Programming : A comprehensive approach </title> <dc:identifier>ISBN:9788119364091</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=12053</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/8119364090.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Ghuriani, Veena .<br /> Delhi PHI 2024 .<br /> xiii, 318 , Includes index 9788119364091 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=12053">Place hold on <em>Python Programming </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=12053</guid> </item> <item> <title> Data visualization with Python and JavaScript : scrape, clean, explore, and transform your data </title> <dc:identifier>ISBN:9789355422392</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=12155</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9355422393.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Dale, Kyran .<br /> New Delhi Shroff publishers &amp; distributors 2023 .<br /> xxxvi, 529 , Includes index 9789355422392 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=12155">Place hold on <em>Data visualization with Python and JavaScript </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=12155</guid> </item> <item> <title> Python programming </title> <dc:identifier>ISBN:9788196512927</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=13685</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/8196512929.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Saha, Subrata .<br /> Kolkata Aryan Publishing 2024 .<br /> xvi, 536 9788196512927 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=13685">Place hold on <em>Python programming </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=13685</guid> </item> <item> <title> Probabilistic Machine learning for Finance and investing : A primer to generative AI with Python </title> <dc:identifier>ISBN:9789355429995</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=13742</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9355429991.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Kanungo, Deepak K. .<br /> Kolkata Shroff 2023 .<br /> xv, 247 , Includes index 9789355429995 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=13742">Place hold on <em>Probabilistic Machine learning for Finance and investing </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=13742</guid> </item> <item> <title> Python data science handbook : Essentials tools for working with data </title> <dc:identifier>ISBN:9789355422552</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=13748</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9355422555.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By VanderPlas, Jake .<br /> Kolkata Shroff Publishers 2023 .<br /> xxiv, 563 , Includes index 9789355422552 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=13748">Place hold on <em>Python data science handbook </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=13748</guid> </item> <item> <title> Data science from scratch : first principles with Python </title> <dc:identifier>ISBN:9789352138326</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=13752</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9352138325.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Grus, Joel .<br /> Navi Mumbai Shroff publishers 2019 .<br /> xvii, 384 , Includes index 9789352138326 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=13752">Place hold on <em>Data science from scratch </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=13752</guid> </item> <item> <title> Programming neural networks with Python </title> <dc:identifier>ISBN:9789355427762</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=13753</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/935542776X.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Steinwendner, Joachim .<br /> Navi Mumbai Shroff 2025 .<br /> 457 , Includes index 9789355427762 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=13753">Place hold on <em>Programming neural networks with Python </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=13753</guid> </item> <item> <title> Python 3 : the comprehensive guide </title> <dc:identifier>ISBN:9789355422811</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=13755</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9355422814.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Ernesti, Johannes .<br /> Kolkata Shroff 2022 .<br /> 1036 , Includes index 9789355422811 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=13755">Place hold on <em>Python 3</em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=13755</guid> </item> <item> <title> Deep learning from scratch : building with Python from first principles </title> <dc:identifier>ISBN:9789352139026</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=13761</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/935213902X.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Weidman, Seth.<br /> Navi Mumbai Shroff Publishers 2019 .<br /> xiv, 235 , Includes Index 9789352139026 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=13761">Place hold on <em>Deep learning from scratch </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=13761</guid> </item> <item> <title> Problem solving and Python programming : fundamentals and applications NumPy, Pandas and Matplotlib </title> <dc:identifier>ISBN:9788195175505</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=13777</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/8195175503.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Bhasin, Harsh .<br /> New Delhi New Age International 2022 .<br /> xviii, 538 9788195175505 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=13777">Place hold on <em>Problem solving and Python programming </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=13777</guid> </item> <item> <title> Data science and analytics with Python </title> <dc:identifier>ISBN:9789393330345</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=14004</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9393330344.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Arora, Sandhya .<br /> Hyderabad Universities Press 2023 .<br /> x, 488 , Includes index 9789393330345 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=14004">Place hold on <em>Data science and analytics with Python </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=14004</guid> </item> <item> <title> Data science and analytics with python </title> <dc:identifier>ISBN:9789393330345</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=14340</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9393330344.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Arora, Sandhya .<br /> Hyderabad Universities Press 2023 .<br /> x, 488 , Preface Acknowledgements Chapter 1: Introduction to Data Science Introduction | Data Science | Data Science Stages | Data Science Ecosystem | Tools Used in Data Science | Data Science Workflow | Automated Methods for Data Collection | Overview of Data | Sources of Data | Big Data | Data Categorization Chapter 2: Environment Set-up and Basics of Python Introduction to Python | Features of Python | Installation of Python | Python Identifiers | Python Indentation | Comments in Python | Basic Data | Operators and Expressions | Data Types | Sets and Frozen Sets | Loops and Conditions | Classes and Functions | Working with Files Chapter 3: NumPy and pandas Arrays | NumPy | The pandas Package | Panels Chapter 4: Data Visualization Introduction | Visualization Software and Tools | Interactive Visual Analysis | Text Visualization | Creating Graphs with Matplotlib | Creating Graphs with the plotly Package | Data Visualization with Matplotlib, Seaborn and pandas | Exploratory Data Analysis | Mapping and Cartopy Chapter 5: Python scikit-learn Introduction | Features of scikit-learn | Installation | Regression and Classifiers in scikit-learn | Support Vector Machine (SVM) | K-Nearest Neighbor (K-NN) | Case Studies Chapter 6: Environment Set-up: TensorFlow and Keras Introduction to TensorFlow | TensorFlow Features | Benefits of TensorFlow | Installation of TensorFlow | TensorFlow Architecture | Introduction to Keras | Installation of Keras | Features of Keras | Programming in Keras Chapter 7: Probability Introduction to Probability | Probability and Statistics | Random Variables | Central Limit Theorem | Density Functions | Probability Distribution Chapter 8: Machine Learning and Data Pre-processing Introduction to Machine Learning | Need for Machine Learning | Types of Machine Learning | Understanding Data | Data Set and Data Types | Data Pre-processing | Data Pre-processing in Python Chapter 9: Statistical Analysis: Descriptive Statistics Introduction | One-dimensional Statistics | Multi-dimensional Statistics | Simpson’s Paradox Chapter 10: Statistical Analysis: Inferential Statistics Introduction | Hypothesis Testing | Using the t-test | The t-test in Python | Chi-square Test | Wilcoxon Rank-Sum Test | Introduction to Analysis of Variance Chapter 11: Classification Introduction | K-NN Classification | Decision Trees | Support Vector Machine (SVM) | Naive Bayes’ Classification | Metrics for Evaluating Classifier Performance | Cross-validation | Ensemble Methods: Techniques to Improve Classification Accuracy Chapter 12: Prescriptive Analytics: Data Stream Mining Introduction to Stream Concepts | Mining Data Streams | Data Stream Management System (DSMS) | Data Stream Models | Data Stream Filtering | Sampling Data in a Stream | Concept Drift | Data Stream Classification | Rare Class Problem | Issues, Controversies and Problems | Applications of Data Mining | Implementation of Data Streams in Python Chapter 13: Language Data Processing in Python Natural Language Processing | Text Processing in Python | CGI/Web Programming Using Python | Twitter Sentiment Analysis in Python | Twitter Sentiment Analysis for Film Reviews | Case Study: A Recommendation System for a Film Data Set | Case Study: Text Mining and Visualization in Word Clouds Chapter 14: Clustering Introduction | Distance Measures | K-means Clustering | Hierarchical Clustering | DBSCAN Clustering Chapter 15: Association Rule Mining Introduction | The Apriori Algorithm | An Example of an Apriori Algorithm | An Example Using Python: Transactions in a Grocery Store Chapter 16: Time Series Analysis Using Python Introduction | Components of a Time Series | Additive and Multiplicative Time Series | Time Series Analysis | Case Study on Time Series Analysis Chapter 17: Deep Neural Network and Convolutional Neural Network Overview of Feed Forward Neural Network | Overview of Deep Neural Network | Activation Function | Loss Functions | Regularization | Convolutional Neural Network | Implementation of CNN | Case Studies Chapter 18: Case Studies Digit Recognition | Face and Eye Detection in Images | Correlation and Feature Selection | Fake News Detection | Detecting Duplicate Questions | Weather Prediction and Song Recommendation System | Spam Detection Index 9789393330345 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=14340">Place hold on <em>Data science and analytics with python </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=14340</guid> </item> <item> <title> Python programming </title> <dc:identifier>ISBN:9788196512927</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=14362</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/8196512929.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Saha, Subrata .<br /> Kolkata Aryan Publishing 2024 .<br /> xvi, 536 9788196512927 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=14362">Place hold on <em>Python programming </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=14362</guid> </item> <item> <title> Python programming </title> <dc:identifier>ISBN:9789386235633</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=14365</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9386235633.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Satyanarayana, Ch.<br /> Kolkata University press 2018 .<br /> xii,336p. , Preface Introduction 1.1 Introduction to Computer Systems Generations of computers | Applications of computers | Classification of computers 1.2 Computer Hardware Input/ Output devices | CPU | Memory 1.3 Computer Software System software | Application software 1.4 Programming Languages Machine-level programming language | Assembly-level programming language | High-level programming language 1.5 Algorithmic Problem Solving Algorithms | Characteristics of algorithm | Advantages and disadvantages of algorithm | Algorithm notation | Building blocks of algorithms | Steps for developing algorithms | Simple strategies for developing algorithms | Find minimum in a list | Insert a card in a list of sorted cards | Guess an integer number in a range | Towers of Hanoi algorithm 1.6 Building Blocks of Program 1.7 Background of Learning to Write Programs 1.8 Sample Algorithms Glossary | Summary | Multiple Choice Questions | Fill in the Blanks |State True/False |Find the Output | Find the Error | Long Answer Questions |Short Answer Questions |Exercise Algorithms | Answers 2. Fundamentals of Python Programming 2.1 Introduction to Python 2.2 Features of Python 2.3 Applications of Python Web and internet development | Scientific and numeric | Education | Desktop GUIs | Software development 2.4 Installation of Python Windows operating system | Linux operating system 2.5 Sample Program 2.6 Python Virtual Machine 2.7 Frozen Binaries 2.8 Memory Management in Python 2.9 Comparison Between C and Python 2.10 Comparison Between Java and Python 2.11 Python vs Similar Tools 2.12 Python Keywords 2.13 Python Identifiers 2.14 Python Statements 2.15 Python Indentation 2.16 Comments in Python 2.17 Differences Between Python 2.x and 3.x 2.18 Coding Styles in Python Glossary | Summary | Multiple Choice Questions | Fill in the Blanks | State True/False | Long Answer Questions | Short Answer Questions | Answers 3. Syntax and Styles 3.1 Data Types 3.2 Literal 3.3 Numeric Literal 3.4 Boolean Literal 3.5 String Literal 3.6 Variable 3.7 Operators and Expressions Arithmetic operators | Comparison (relational) operators | Assignment operators | Logical operators| Bitwise operators | Membership operators | Identity operators 3.8 Expressions and Order of Evaluations 3.9 Numbers Integers | Floating point numbers | Complex numbers 3.10 Functions Applicable to All Types of Numbers 3.11 Sample Programs Glossary | Summary | Multiple Choice Questions | Fill in the Blanks | State True/False | Find the Output | Find the Error | Long Answer Questions| Short Answer Questions | Exercise Programs | Answers 4. Control Flow 4.1 If Statement 4.2 While Statement 4.3 For Statement 4.4 Break Statement 4.5 Continue Statement 4.6 Pass Statement 4.7 Entry Controlled Loop 4.8 Exit Controlled Loop 4.9 Counter Controlled Loop 4.10 Condition Controlled Loop 4.11 Nested Loops 4.12 Sample Programs 4.13 Case Studies Simple temperature converter | Simple number system converter | Generation of vowel alphabet pattern Glossary | Summary | Multiple Choice Questions | Fill in the Blanks | State True/False | Find the Output |Find the Error | Long Answer Questions | Short Answer Questions | Exercise Programs | Answers 5. Sequences–Lists 5.1 Arrays 5.2 Sequences 5.3 Using Lists 5.4 List Assignment and Equivalence 5.5 List Bounds 5.6 List Slicing 5.7 List Cloning 5.8 Nested Lists 5.9 List Comprehensions 5.10 Lists and Functions 5.11 Prime Generation with a List 5.12 Adding List Elements 5.13 Mutability 5.14 List Unpacking 5.15 Stack 5.16 Queue 5.17 Functional Programming 5.18 Sample Programs Glossary | Summary | Multiple Choice Questions | Fill in the Blanks |State True/False | Find the Output |Find the Error | Long Answer Questions | Short Answer Questions | Exercise Programs | Answers 6. Tuples 6.1 Need of Tuple 6.2 Sequence Unpacking 6.3 Methods 6.4 Sample Programs Glossary | Summary | Multiple Choice Questions | Fill in the Blanks | State True/False | Find the Output | Find the Error | Long Answer Questions | Short Answer Questions | Exercise Programs | Answers 7. Dictionaries 7.1 Making a Dictionary 7.2 Basic Operations 7.3 Dictionary Operations 7.4 Sets 7.5 Iterators and Generators 7.6 Sample Programs Glossary | Summary | Multiple Choice Questions | Fill in the Blanks | State True/False | Find the Output | Find the Error | Long Answer Questions | Short Answer Questions | Exercise Programs| Answers 8. Functions 8.1 Introduction 8.2 Defining Functions 8.3 Calling Functions 8.4 Passing Arguments 8.5 Keyword Arguments 8.6 Default Arguments 8.7 Required Arguments 8.8 Variable-length Arguments 8.9 Return Statement 8.10 Nesting of Passing Arguments 8.11 Anonymous Functions 8.12 Recursive Function 8.13 Scope of Local and Global Variable 8.14 Documentation Strings 8.15 Sample Programs 8.16 Case Studies Recursive binary search | Substitution Cipher| Glossary | Summary | Multiple Choice Questions | Fill in the Blanks | State True/False | Find the Output | Find the Error | Long Answer Questions | Short Answer Questions | Exercise Programs| Answers 9. Modules 9.1 Introduction 9.2 Importing Modules Importing all elements of a module | Importing the specific elements of a module 9.3 Creating Modules 9.4 Use of name 9.5 Name Spacing Scope 9.6 Reloading Module 9.7 Sample Programs Glossary | Summary | Multiple Choice Questions | Fill in the Blanks | State True/False | Find the Output | Find the Error | Long Answer Questions | Short Answer Questions | Exercise Programs | Answers 10. Object Oriented Programming Principles 10.1 Class Statement 10.2 Class Body 10.3 Objects 10.4 Class Methods 10.5 Self Variable 10.6 Class Properties and Instance Properties 10.7 Static Method 10.8 Data Hiding 10.9 Deleting an Object 10.10 Constructor 10.11 Method Overriding 10.12 Inheritance 10.13 Composition or Containership or Complex Object 10.14 Abstract Classes and Interfaces 10.15 Metaclass 10.16 Operator Overloading Reverse adding | getitem() and setitem() | Membership operators | Miscellaneous functions 10.17 Garbage Collection 10.18 Sample Programs Glossary | Summary | Multiple Choice Questions | Fill in the Blanks | State True/False | Find the Output | Find the Error | Long Answer Questions | Short Answer Questions | Exercise Programs| Answers 11. Packages 11.1 Introduction to PIP 11.2 Installing Packages via PIP 11.3 Using Python Packages 11.4 Absolute and Relative Imports 11.5 Namespace Package 11.6 Sample Programs Glossary |Summary | Multiple Choice Questions | Fill in the Blanks | State True/False | Find the Output | Find the Error | Long Answer Questions | Short Answer Questions | Exercise Programs | Answers 12. Strings and Regular Expressions 12.1 Methods of String Objects Escape sequencing 12.2 Iterating Strings 12.3 String Module 12.4 String Formatting 12.5 Regular Expression Re-module 12.6 Dictionary-based Formatting Expressions 12.7 Sample Programs Glossary | Summary | Multiple Choice Questions | Fill in the Blanks | State True/False | Find the Output | Find the Error | Long Answer Questions | Short Answer Questions | Exercise Programs | Answers 13. Files and Directory Access 13.1 Files and Streams 13.2 Opening a File The read mode | The write mode | The append mode 13.3 Reading/Writing Operations on a File The read operation | The write operation 13.4 Other File Operations 13.5 Iterating through Files 13.6 Splitting Words 13.7 Serialization and De-serialization 13.8 Hash Files 13.9 Directory Access 13.10 Sample Programs Glossary | Summary | Multiple Choice Questions | Fill in the Blanks | State True/False | Find the Output | Find the Error | Long Answer Questions | Short Answer Questions | Exercise Programs | Answers 14. Errors and Exceptions 14.1 Motivation 14.2 Examples of Exception 14.3 Handling Exceptions 14.4 Try Keyword 14.5 Finally Keyword 14.6 Handling Exception in Invoked Functions 14.7 With and Except Statements 14.8 Raising Exceptions 14.9 Re-raising Exception 14.10 Instantiating Exception 14.11 Custom Exceptions 14.12 Assert Statement 14.13 Pre-defined Clean-up Actions 14.14 Sample Programs Glossary | Summary | Multiple Choice Questions | Fill in the Blanks | State True/False | Find the Output | Find the Error | Long Answer Questions | Short Answer Questions | Exercise Programs| Answers 15. Multithreading 15.1 Introduction to Thread 15.2 Differences Between Process and Thread 15.3 Threading Module 15.4 Thread Synchronization 15.5 Sample Program Glossary | Summary | Multiple Choice Questions | Fill in the Blanks | State True/False | Find the Output | Find the Error | Long Answer Questions | Short Answer Questions | Exercise Programs | Answers 16. Tkinter 16.1 Introduction 16.2 Widget 16.3 Label Widget 16.4 Button Widget 16.5 Checkbutton Widget 16.6 Entry Widget 16.7 Listbox Widget 16.8 Radiobutton Widget 16.9 Scrollbar Widget 16.10 Text Widget 16.11 Container Widgets 16.12 Frame Widget 16.13 Menu Widget 16.14 Labelframe Widget 16.15 Message Widget 16.16 Combobox Widget 16.17 Scale Widget 16.18 Canvas Widget 16.19 Sample Programs Glossary | Summary | Multiple Choice Questions | Fill in the Blanks | State True/False | Find the Output | Find the Error | Long Answer Questions | Short Answer Questions | Exercise Programs | Answers 17. Events 17.1 Event Object 17.2 Binding Callbacks to Events 17.3 Events Names 17.4 Keyboard Events 17.5 Mouse Events 17.6 Sample Programs Glossary | Summary | Multiple Choice Questions | Fill in the Blanks | State True/False | Find the Output | Find the Error | Long Answer Questions | Short Answer Questions | Exercise Programs | Answers 18. Standard Library 18.1 Operating System Interface 18.2 Text Processing 18.3 Mathematics 18.4 Internet Access 18.5 Dates and Times 18.6 Data Compression 18.7 Turtle Graphics 18.9 Sample Programs Glossary | Summary | Multiple Choice Questions | Fill in the Blanks | State True/False | Find the Output | Find the Error | Long Answer Questions | Short Answer Questions | Exercise Programs | Answers 19. Testing 19.1 Basic Concepts of Testing 19.2 Unit Testing in Python 19.3 Grouping Test Cases in Unit Testing 19.4 Loading and Running Tests 19.5 Sample Programs Glossary | Summary | Multiple Choice Questions | Fill in the Blanks | State True/False | Find the Output | Find the Error | Long Answer Questions | Short Answer Questions | Exercise Programs | Answers Appendix A: Networking Appendix B: Sending E-mail Appendix C: Plotting Graphs Appendix D: CGI/Web Programming using Python Index 9789386235633 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=14365">Place hold on <em>Python programming</em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=14365</guid> </item> <item> <title> Python programming : an objected-oriented approach </title> <dc:identifier>ISBN:9789393330390</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=14420</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9393330395.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Goel, Anita.<br /> Kolkata Unversity press 2025 .<br /> xxxvi, 818p. , Preface About the Author Basics of Computer Programming Fundamentals Python Environment Setting Basic Data Types, Literals and Variables Operators and Expressions Control Flow Function and Module String List and Tuple Set and Dictionary Files Error and Exception Handling Classes and Objects Inheritance and Polymorphism GUI Programming – Tkinter Python Libraries Using Python to Access Web Data Using Databases with Python Case Studies Annexure 1: The Python Standard Library Annexure 2: os.path — Common Pathname Manipulations Annexure 3: pathlib — Object-Oriented Filesystem Paths Index 9789393330390 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=14420">Place hold on <em>Python programming</em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=14420</guid> </item> <item> <title> Python programming </title> <dc:identifier>ISBN:9789366602967</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=14634</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9366602967.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Mehra, Ritika.<br /> Delhi Cengage 2026 .<br /> various pages , Getting Started with Python Python Basics: Operators &amp; Decision Control Statements Data Structures in Python Functional Programming in Python Object-Oriented Programming (OOP) in Python Errors and Exceptions Modules and Packages Introduction to Graphical User Interface File Handling Debugging &amp; Testing, Continuous Integration Concurrency and Parallelism Working with database Networking in Python Optimizing Python Code Packaging and Distributing Python Code Deployment and Cloud Computing Best Practices in Python Python Design Patterns Data Analytics in Python 9789366602967 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=14634">Place hold on <em>Python programming </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=14634</guid> </item> <item> <title> Python data science handbook : Essentials tools for working with data </title> <dc:identifier>ISBN:9789355422552</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=14643</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9355422555.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By VanderPlas, Jake .<br /> Kolkata Shroff Publishers 2023 .<br /> xxiv, 563 , Includes index 9789355422552 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=14643">Place hold on <em>Python data science handbook </em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=14643</guid> </item> <item> <title> Python computing : fundamentals and applications </title> <dc:identifier>ISBN:9789392145551</dc:identifier> <link>/cgi-bin/koha/opac-detail.pl?biblionumber=14674</link> <description> <![CDATA[ <img src="https://images-na.ssl-images-amazon.com/images/P/9392145551.01.TZZZZZZZ.jpg" alt="" /> ]]> <![CDATA[ <p> By Gupta, Kar Abhijit.<br /> Kolkata Techno world 2023 .<br /> 408p. , includes index 9789392145551 </p> ]]> <![CDATA[ <p> <a href="/cgi-bin/koha/opac-reserve.pl?biblionumber=14674">Place hold on <em>Python computing</em></a> </p> ]]> </description> <guid>/cgi-bin/koha/opac-detail.pl?biblionumber=14674</guid> </item> </channel> </rss>
