SEMrush
diveintopython.net

Please wait for loading...




    SEMrush

      (494):

    /
     1  ~ 2014 sep 27dive into pythonDive Into PythonDive Into Python is a free Python book for experienced programmers. It was originally hosted at DiveIntoPython .org, but the author has pulled down all copies . ‎Your First Python Program - ‎Chapter 1. Installing Python - ‎Dictionaries - ‎Getattr
     1  +1 2014 sep 02dive into pythinDive Into Python is a free Python book for experienced programmers. It was originally hosted at DiveIntoPython .org, but the author has pulled down all copies . ‎Chapter 2. Your First Python ... - ‎Chapter 1. Installing Python - ‎Dictionaries - ‎Getattr
     1  ~ 2014 aug 12extracting data from html8.3. Extracting data from HTML documents - Dive Into PythonThe first step to extracting data from an HTML document is getting some HTML . If you have some HTML lying around on your hard drive, you can use file ...
     2  ~ 2014 sep 21python add attributes to tupleSection 3.3, “Introducing Tuples” - Dive Into Pythonimmutable list. A tuple can not be changed in any way once it is created. ... AttributeError: ' tuple ' object has no attribute ' append ' >>> t.remove("z") 2 Traceback ...
     2  +2 2014 sep 06python web serviceChapter 11. HTTP Web Services - Dive Into PythonSimply stated, HTTP web services are programmatic ways of sending and receiving data from remote servers using the operations of HTTP directly. If you want ...
     3  ~ 2014 sep 25python classSection 5.3, “Defining Classes ” - Dive Into PythonDefining a class in Python is simple. As with functions, there is no separate interface definition. Just define the class and start coding. A Python class starts with ...
     3  +1 2014 sep 13python listSection 3.2, “Introducing Lists ” - Dive Into PythonA list in Python is much more than an array in Java (although it can be used as one if that's really all you want out of life). A better analogy would be to the ...
     3  -1 2014 sep 10add attributes to tuple3.3. Introducing Tuples - Dive Into Python
     3  ~ 2014 aug 16python parse xmlSection 9.3, “ Parsing XML ” - Dive Into Pythonfrom xml .dom import minidom 1 >>> xmldoc = minidom. parse ('~/ diveintopython / common/py/kgp/binary. xml ') 2 >>> xmldoc 3 < xml .dom.minidom.Document ...
     3  +7 2014 aug 15extract from htmlTo extract data from HTML documents, subclass the SGMLParser class and define methods for each tag or entity you want to capture. The first step to extracting  ...
     3  +2 2014 aug 12tuple in pythonSection 3.3, “Introducing Tuples ” - Dive Into PythonA tuple is defined in the same way as a list, except that the whole set of elements is enclosed in parentheses instead of square brackets. 2, The elements of a ...
     3  +1 2014 aug 10extract data from html
     3  ~ 2014 aug 01python array mapSection 3.6, “ Mapping Lists” - Dive Into PythonOne of the most powerful features of Python is the list comprehension, which provides a compact way of mapping a list into another list by applying a function to ...
     3  ~ 2014 jul 29get data from html
     4  ~ 2014 sep 30python string3.5. Formatting Strings - Dive Into PythonPython supports formatting values into strings. Although this can include very complicated expressions, the most basic usage is to insert values into a string with ...
     4  +6 2014 sep 28python array3.2. Introducing Lists - Dive Into Python
     4  +1 2014 sep 21python import5.2. Importing Modules Using from module import - Dive Into PythonPython has two ways of importing modules. Both are useful, and you should know when to use each. One way, import module, you've already seen in Section  ...
     4  +1 2014 sep 11python unicodeSection 9.4, “ Unicode ” - Dive Into PythonYou'll get to all that in a minute, but first, some background. Historical note. Before unicode , there were separate character encoding systems for each language, ...
     4  +3 2014 aug 25python xml exampleSection 9.3, “Parsing XML ” - Dive Into Pythonxmldoc = minidom.parse('~/ diveintopython /common/py/kgp/binary. xml ') 2 ... you'll need to change the path to point to your downloaded examples directory.
     4  +1 2014 aug 22free python bookDive Into Python is a free Python book for experienced programmers. It was originally hosted at DiveIntoPython.org, but the author has pulled down all copies .
     5  ~ 2014 oct 02python html parserSection 8.3, “Extracting data from HTML documents” - Dive Into PythonTo extract data from HTML documents, subclass the SGMLParser class and define methods for each tag or entity you want to capture. The first step to extracting ...
     5  +96 2014 oct 01find the path out16.2. Finding the path - Dive Into PythonThis is one of those obscure little tricks that is virtually impossible to figure out on your own, but simple to remember once you see it. The key to it is sys.argv.
     5  -2 2014 sep 29classes in python
     5  +4 2014 sep 28python xmlAs I was saying, actually parsing an XML document is very simple: one line of code. ... xmldoc = minidom.parse('~/diveintopython/common/py/kgp/binary. xml ') 2  ...
     5  +1 2014 aug 11python list methodsA list in Python is much more than an array in Java (although it can be used as .... Lists have two methods , extend and append, that look like they do the same ...
     6  -2 2014 sep 27python stringsPython supports formatting values into strings . Although this can include very complicated expressions, the most basic usage is to insert values into a string with ...
     6  +5 2014 sep 27get item on index of list cThe last element of this five- element list is li[4], because lists are always zero- based.
     6  +11 2014 sep 27c get item with index of list
     6  +1 2014 sep 27python global variableSection 8.5, “locals and globals” - Dive Into PythonPython has two built-in functions, locals and globals, which provide dictionary- based access to local and global variables . Remember locals? You first saw it ...
     6  ~ 2014 sep 06implement python mappingMapping Lists. One of ... To make sense of this, look at it from right to left. li is the list you're mapping . Python ... This is another use of multi-variable assignment.
     6  +5 2014 aug 18regular expression pythonChapter 7. Regular Expressions - Dive Into PythonRegular expressions are a powerful and standardized way of searching, replacing, and parsing text with complex patterns of characters. If you've used regular ...
     6  +1 2014 aug 14list to string3.7. Joining Lists and Splitting Strings - Dive Into PythonYou have a list of key-value pairs in the form key=value, and you want to join them into a single string . To join any list of strings into a single string , use the join  ...
     6  -3 2014 aug 12send compressed data11.8. Handling compressed data - Dive Into PythonThe last important HTTP feature you want to support is compression . Many web services have the ability to send data compressed , which can cut down the ...
     6  +2 2014 aug 10python class methodsThis class doesn't define any methods or attributes, but syntactically, there needs to be something in the definition, so you use pass. This is a Python reserved ...
     6  ~ 2014 aug 09python string formatPython supports formatting values into strings. ... Introducing String Formatting ... Python Library Reference summarizes all the string formatting format characters ...
     6  +2 2014 aug 07python print stringExample 3.22. String Formatting vs. Concatenating. >>> uid = "sa" >>> pwd = " secret" >>> print pwd + " is not a good password for " + uid 1 secret is not a good  ...
     7  -2 2014 sep 18extend pythonSection 3.2, “Introducing Lists” - Dive Into PythonA list in Python is much more than an array in Java (although it can be used as .... Note that you do not call extend with multiple arguments; you call it with one ...
     7  -2 2014 sep 09python split stringSection 3.7, “Joining Lists and Splitting Strings ” - Dive Into Python
     7  +1 2014 aug 23for loop pythonSection 6.3, “Iterating with for Loops ” - Dive Into PythonLike most other languages, Python has for loops . The only reason you haven't seen them until now is that Python is good at so many other things that you don't  ...
     7  +5 2014 aug 10find command flag -mtime10.6. Handling command -line arguments - Dive Into PythonCommand -line flags , like --help, also show up as their own element in the sys. argv list. ... No attempt is made to associate one with the other; all you get is a list.
     7  -2 2014 jul 26string methods pythonJoining Lists and Splitting Strings . 3.7.1. Historical Note on String Methods . You have a list of key-value pairs in the form key=value, and you want to join them ...
     8  +2 2014 sep 23repr pythonSection 5.7, “Advanced Special Class Methods” - Dive Into PythonPython has more special methods than just __getitem__ and __setitem__. Some of ... __repr__ is a special method that is called when you call repr (instance).
     8  +2 2014 sep 21python dictionaryDictionaries - Dive Into PythonYou'll get back to your first Python program in just a minute. But first, a short digression is in order, because you need to know about dictionaries , tuples, and lists ...
     8  -5 2014 sep 17dive into
     8  +2 2014 sep 15python en españolInmersión en PythonInmersión en Python es un libro libre sobre Python para programadores con ... noticias en español relacionadas con Python; Python en español - noticias, foros,  ...
     8  ~ 2014 sep 11dive into htmlDive Into Python. 20 May 2004 ... This book lives at L Processing · 8.1. Diving in · 8.2.
     8  +8 2014 aug 11phone number regex7.6. Case study: Parsing Phone Numbers - Dive Into PythonI scoured the Web and found many examples of regular expressions that purported to do this, but ... Here are the phone numbers I needed to be able to accept:.
     9  ~ 2014 oct 02python read fileSection 6.2, “Working with File Objects” - Dive Into PythonIf not specified, the file is opened for reading in text mode. Here you are opening the file for reading in binary mode. (print open.__doc__ displays a great ...
     9  -3 2014 sep 20python str splitSection 3.7, “Joining Lists and Splitting Strings” - Dive Into Python
     9  +2 2014 sep 15python reRegular expressions are a powerful and standardized way of searching, replacing, and parsing text with complex patterns of characters. If you've used regular  ...
     9  +41 2014 aug 26parsing html filesIf you have some HTML lying around on your hard drive, you can use file functions to .... You've read all the data and fed it to the parser , but the feed method isn't ...
     9  -3 2014 aug 13python str find4.3. Using type, str , dir, and Other Built-In Functions - Dive Into PythonA subtle but important behavior of str is that it works on None, the Python null value. ... you can determine which attributes you care about (methods, functions,  ...
     9  +6 2014 jul 26python dictionary methods3.7.1. Historical Note on String Methods ... One of Python 's built-in datatypes is the dictionary , which defines one-to-one relationships between keys and values.
     10  +1 2014 oct 04python write fileWriting to Files . Python has a built-in function, open, for opening a file on disk. open returns a file object, which has methods and attributes for getting information ...
     10  +2 2014 sep 20iterating6.3. Iterating with for Loops - Dive Into PythonIterating with for Loops. Like most other languages, Python has for loops. The only reason you haven't seen them until now is that Python is good at so many ...
     10  ~ 2014 sep 15installing soap12.2. Installing the SOAP Libraries - Dive Into Pythonthat do not come pre- installed with Python. Before you can dive into SOAP web services, you'll need to install three libraries: PyXML, fpconst, and SOAPpy.
     10  +22 2014 sep 02extracting info from internetThe first step to extracting data from an HTML document is getting some HTML. ... for getting information about and actually retrieving data from Internet -based ...
     10  ~ 2014 aug 26python for inSection 6.3, “Iterating with for Loops” - Dive Into PythonLike most other languages, Python has for loops. The only reason you haven't seen them until now is that Python is good at so many other things that you don't  ...
     11  -1 2014 sep 27python for loop
     11  -2 2014 sep 22dive into markBy Mark Pilgrim, Guide to Python 3 and its differences from Python 2. Each chapter starts with a real code sample and explains it fully. Has a comprehensive  ...
     11  -3 2014 sep 05uncompress http dataThe last important HTTP feature you want to support is compression. ... As you'll see in a minute, the actual length of the uncompressed data was 15955, so gzip ...
     11  +90 2014 sep 02url data informationTo extract data from HTML documents, subclass the SGMLParser class and define ... information about and actually retrieving data from Internet-based URL s  ...
     11  +5 2014 aug 26python for eachThe only reason you haven't seen them until now is that Python is good at so many ... s will take the value of each element in turn, starting from the first element .
     11  -2 2014 aug 26python anonymous functionSection 4.7, “Using lambda Functions ” - Dive Into PythonThis is a lambda function that accomplishes the same thing as the normal function above it. Note the abbreviated syntax here: there are no parentheses around ...
     11  +30 2014 aug 25parse html fileThe first step to extracting data from an HTML document is getting some HTML . ... home page of
     11  +17 2014 aug 10web data parserTo extract data from HTML documents, subclass the SGMLParser class and define ... to read it, but the real fun begins when you get HTML from live web pages.
     11  +2 2014 aug 02sacar elementos perl1.8. Todo sobre las listas - Inmersión en PythonEn Perl , las variables que almacenan arrays comienzan siempre con el carácter ... Una lista es un conjunto ordenado de elementos encerrados entre corchetes.
     11  ~ 2014 jul 26python functional programmingChapter 16. Functional Programming - Dive Into PythonIn Chapter 13, Unit Testing, you learned about the philosophy of unit testing. In Chapter 14, Test-First Programming , you stepped through the implementation of  ...
     12  ~ 2014 sep 19static attributes5.8. Introducing Class Attributes - Dive Into PythonYou already know about data attributes , which are variables owned by a specific ... In Java, both static variables (called class attributes in Python) and instance ...
     12  ~ 2014 sep 19python for key valueYou'll get back to your first Python program in just a minute. ... Each element is a key - value pair, and the whole set of elements is enclosed in curly braces.
     12  -3 2014 sep 12python print list as stringTo join any list of strings into a single string , use the join method of a string object. ... This string is then returned from the odbchelper function and printed by the ...
     12  +10 2014 aug 25google search api pythonSection 12.7, “ Searching Google ” - Dive Into PythonGoogle provides a SOAP API for programmatically accessing Google search ... languages (but not Python ), and more importantly, it includes the WSDL file.
     12  +1 2014 jul 22python for statementBut in Python , a for loop simply iterates over a list, the same way list ... Like an if statement or any other indented block, a for loop can have any number of lines of  ...
     13  -1 2014 sep 30python dict method
     13  ~ 2014 sep 16web fetch11.2. How not to fetch data over HTTP - Dive Into PythonHow not to fetch data over HTTP ... But once you start thinking in terms of a web service that you want to access on a regular basis -- and remember, you said ...
     13  +3 2014 sep 02upgare python in redhat1.5. Python on RedHat Linux - Dive Into PythonInstalling under UNIX-compatible operating systems such as Linux is easy if you' re willing to install a binary package. Pre-built binary packages are available for ...
     13  +4 2014 aug 25python on windows1.2. Python on Windows - Dive Into PythonActiveState makes a Windows installer for Python called ActivePython, which includes a complete version of Python , an IDE with a Python -aware code editor, ...
     13  -1 2014 aug 10python free ebooksDive Into Python is a free Python book for experienced programmers. It was originally hosted at DiveIntoPython .org, but the author has pulled down all copies .
     13  -8 2014 jul 26python string find4.3. Using type, str, dir, and Other Built-In Functions - Dive Into PythonNote that the string representation of the module includes the pathname of the .... But unlike most languages, where you would find yourself referring back to the ...
     13  +6 2014 jul 24python open website
     13  +56 2014 jul 20regex for numbers
     14  -1 2014 sep 28http last modified11.6. Handling Last - Modified and ETag - Dive Into Python11.6. Handling Last - Modified and ETag. Now that you know how to add custom HTTP headers to your web service requests, let's look at adding support for ...
     14  ~ 2014 sep 18extract content from htmlTo extract data from HTML documents, subclass the SGMLParser class and define ... <meta http-equiv=' Content -Type' content =' text / html ; charset=ISO-8859-1' > ...
     14  +1 2014 sep 03words list splittingYou have a list of key-value pairs in the form key=value, and you want to join them into a single string. To join any list of strings into a single string, use the join  ...
     14  -3 2014 sep 01where is python installedChapter 1. Installing Python - Dive Into PythonIf you're using an account on a hosted server, your ISP may have already installed Python . Most popular Linux distributions come with Python in the default  ...
     14  ~ 2014 aug 24python string encodeSection 9.4, “Unicode” - Dive Into PythonBefore unicode, there were separate character encoding systems for each ... When printing a string , Python will attempt to convert it to your default encoding , ...
     14  +32 2014 aug 03phyton installer for windowsActiveState makes a Windows installer for Python called ActivePython , which includes a complete version of Python , an IDE with a Python -aware code editor, ...
     15  +1 2014 sep 19soap web servicesChapter 12. SOAP Web Services - Dive Into PythonChapter 11 focused on document-oriented web services over HTTP. The “input parameter” was the URL, and the “return value” was an actual XML document ...
     15  ~ 2014 sep 12python 3 string replacementPython supports formatting values into strings . ... The first %s is replaced by the value of k; the second %s is replaced by the value ... secret is not a good password for sa >>> userCount = 6 >>> print "Users connected: %d" % ( userCount, ) 3 4 ...
     15  +15 2014 sep 11diccionario clave1.7. Todo sobre los diccionarios - Inmersión en PythonEn primer lugar, creamos un diccionario nuevo con dos elementos y lo asignamos a la variable d. Cada elemento es un par clave -valor, y el conjunto total de ...
     15  ~ 2014 aug 19python variable scopePython uses what are called namespaces to keep track of variables . ... a subtle but important change that affects the namespace search order: nested scopes .
     15  +8 2014 aug 18python for mac1.3. Python on Mac OS X - Dive Into PythonMac OS X 10.2 and later comes with a command-line version of Python preinstalled. If you are comfortable with the command line, you can use this version for ...
     15  -2 2014 aug 10python list to tupleA tuple is defined in the same way as a list , except that the whole set of elements is enclosed in parentheses instead of square brackets. 2, The elements of a ...
     15  +18 2014 aug 03install python windowsActiveState makes a Windows installer for Python called ActivePython , which includes a ... you'll want to use the second option for installing Python on Windows .
     16  +1 2014 sep 12alist directory6.5. Working with Directories - Dive Into PythonThe os.path module has several functions for manipulating files and directories . Here, we're looking at handling pathnames and listing the contents of a directory  ...
     16  -4 2014 sep 08format string
     16  +35 2014 sep 01regular expression for numberThe client wanted to be able to enter the number free-form (in a single field), but then ... I scoured the Web and found many examples of regular expressions that ...
     16  +22 2014 aug 31fetch page htmlIf you have some HTML lying around on your hard drive, you can use file functions to read it, but the real fun begins when you get HTML from live web pages .
    1 2 of 5 pages    




    SEMrush