Tài liệu Dive Into Python-Chapter 8 HTML Processing doc

Tài liệu Dive Into Python-Chapter 9. XML docx

Tài liệu Dive Into Python-Chapter 9. XML docx

... >>> xmldoc = minidom.parse('~/diveintopython/common/py/kgp/binary.xml') >>> xmldoc <xml.dom.minidom.Document instance at 010BE87C> >>> print xmldoc.toxml() ... nodes >>> xmldoc.childNodes [<DOM Element: grammar at 175 389 08& gt;] >>> xmldoc.childNodes[0] <DOM Element: grammar at 175 389 08& gt; >>> xmldo...

Ngày tải lên: 14/12/2013, 14:15

22 408 0
Tài liệu Dive Into Python-Chapter 8. HTML Processing doc

Tài liệu Dive Into Python-Chapter 8. HTML Processing doc

... toc/index .html #download #languages toc/index .html appendix/history .html download/diveintopython -html- 5.0.zip download/diveintopython-pdf-5.0.zip download/diveintopython-word-5.0.zip download/diveintopython-text-5.0.zip ... can do so at http://diveintopython.org/. c:\python23\lib> type "c:\downloads\diveintopython \html\ toc\index .html& quot; <!DOCTYPE html...

Ngày tải lên: 26/01/2014, 08:20

66 296 0
Tài liệu Dive Into Python-Chapter 4. The Power Of Introspection ppt

Tài liệu Dive Into Python-Chapter 4. The Power Of Introspection ppt

... <built-in method pop of list object at 010DF 884 > >>> getattr(li, "pop") <built-in method pop of list object at 010DF 884 > >>> getattr(li, "append")("Moe") ... Python has a function called info. Try it yourself and skim through the list now. We'll dive into some of the more important functions later. (Some of the bui...

Ngày tải lên: 14/12/2013, 14:15

45 651 0
Tài liệu Dive Into Python-Chapter 5. Objects and Object-Orientation ppt

Tài liệu Dive Into Python-Chapter 5. Objects and Object-Orientation ppt

... <function stripnulls at 0260C8D4>), 'genre': (127, 1 28, <built-in function ord>), 'artist': (33, 63, <function stripnulls at 0260C8D4>), 'year': ... <function stripnulls at 0260C8D4>), 'comment': (97, 126, <function stripnulls at 0260C8D4>), 'album': (63, 93, <function stripnulls at 0260C8D4>)} &...

Ngày tải lên: 14/12/2013, 14:15

32 365 0
Tài liệu Dive Into Python-Chapter 7. Regular Expressions doc

Tài liệu Dive Into Python-Chapter 7. Regular Expressions doc

... able to accept:  80 0-555-1212  80 0 555 1212  80 0.555.1212  (80 0) 555-1212  1 -80 0-555-1212  80 0-555-1212-1234  80 0-555-1212x1234  80 0-555-1212 ext. 1234  work 1- (80 0) 555.1212 #1234 ... 'MCMLX') <_sre.SRE_Match object at 0x008EEB 48& gt; >>> re.search(pattern, 'MCMLXXX') <_sre.SRE_Match object at 0x008EEB 48& gt; >>...

Ngày tải lên: 14/12/2013, 14:15

23 356 0
Tài liệu Dive Into Python-Chapter 6. Exceptions and File Handling doc

Tài liệu Dive Into Python-Chapter 6. Exceptions and File Handling doc

... mode 'rb' at 010E3 988 > >>> f.tell() 1 0 >>> f.seek(-1 28, 2) 2 >>> f.tell() 3 7542909 >>> tagData = f.read(1 28) 4 >>> tagData 'TAGKAIRO****THE ... 'rb' at 010E3 988 > >>> f.closed 1 False >>> f.close() 2 >>> f <closed file '/music/_singles/kairo.mp3', mode '...

Ngày tải lên: 26/01/2014, 08:20

50 414 0
Tài liệu Dive Into Python-Chapter 10. Scripts and Streams docx

Tài liệu Dive Into Python-Chapter 10. Scripts and Streams docx

... range(3): sys.stdout.write(&apos ;Dive in') 2 Dive inDive inDive in >>> for i in range(3): sys.stderr.write(&apos ;Dive in') 3 Dive inDive inDive in 1 As you saw in Example ... >>> xmldoc = minidom.parse('kant.xml') 1 >>> xmldoc <xml.dom.minidom.Document instance at 0x01359DE8> >>> xmldoc.__class__ 2 <class xm...

Ngày tải lên: 26/01/2014, 08:20

49 377 0
Tài liệu Dive Into Python-Chapter 11. HTTP Web Services doc

Tài liệu Dive Into Python-Chapter 11. HTTP Web Services doc

... Last-Modified: Wed, 14 Apr 2004 22:14: 38 GMT 7 header: ETag: "e8 284 -68e0-4de30f80" 8 header: Accept-Ranges: bytes header: Content-Length: 2 684 8 header: Connection: close 1 urllib ... urllib.urlopen('http://diveintomark.org/xml/atom.xml').read() connect: (diveintomark.org, 80 ) 2 send: ' GET /xml/atom.xml HTTP/1.0 3 Host: diveintomark.org 4 User-ag...

Ngày tải lên: 26/01/2014, 08:20

60 364 0
Tài liệu 71 Chaotic Signals and Signal Processing doc

Tài liệu 71 Chaotic Signals and Signal Processing doc

... ICASSP, V, 325–3 28, 1992. [6] Farmer, J.D and Sidorowich, J.J., Predicting chaotic time series, Phys.Rev.Lett. , 59, 84 5, 1 987 . [7] Haykin, S. and Leung, H., Chaotic signal processing: First ... chaotic systems, Phys.Rev.Lett. , 64 (8) , 82 1 82 4, Feb. 1990. [13] Pecora, L.M. and Carroll, T.L., Driving systems with chaotic signals, Phys.Rev.A. , 44, 2374– 2 383 , Aug. 1991. [14] Carro...

Ngày tải lên: 16/12/2013, 04:15

15 428 2
Tài liệu 74 Morphological Signal and Image Processing docx

Tài liệu 74 Morphological Signal and Image Processing docx

... Speech, Signal Processing, 32, 1 183 –1 188 , Dec. 1 984 . [22] Goetcherian, V., From binary to grey tone image processing using fuzzy logic concepts, Pattern Recognition, 12, 7–15, 1 980 . [23] Goutsias, ... Multiresolution morphological analysis of document images, in Visual Com- munications and Image Processing 92, Maragos, P., Ed., Proc. SPIE, 181 8, 6 48 662, 1992. [10] Blum, H., Bi...

Ngày tải lên: 16/12/2013, 04:15

32 445 0
w