<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Doug Hellmann on O&apos;Reilly Broadcast</title>
<link rel="alternate" type="text/html" href="http://broadcast.oreilly.com/" />
<link rel="self" type="application/atom+xml" href="http://broadcast.oreilly.com/atom.xml" />
<id>tag:broadcast.oreilly.com,2008-08-07://53</id>
<updated>2010-03-21T15:52:16Z</updated>

<generator uri="http://www.sixapart.com/movabletype/">Movable Type Pro 4.21-en</generator>

<entry>
<title>PyMOTW: Creating XML Documents with ElementTree</title>
<link rel="alternate" type="text/html" href="http://broadcast.oreilly.com/2010/03/pymotw-creating-xml-documents.html" />
<id>tag:broadcast.oreilly.com,2010://53.39404</id>

<published>2010-03-21T15:52:16Z</published>
<updated>2010-03-21T15:52:16Z</updated>

<summary>In addition to its parsing capabilities, ElementTree also supports creating well-formed XML documents from Element objects constructed in your application.</summary>
<author>
<name>Doug Hellmann</name>
<uri>http://www.doughellmann.com/</uri>
</author>

<category term="pymotw" label="PyMOTW" scheme="http://www.sixapart.com/ns/types#tag" />
<category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />
<category term="xml" label="xml" scheme="http://www.sixapart.com/ns/types#tag" />

<content type="html" xml:lang="en" xml:base="http://broadcast.oreilly.com/">
In addition to its parsing capabilities, ElementTree also supports creating well-formed XML documents from Element objects constructed in your application.
</content>
</entry>

<entry>
<title>PyMOTW: Parsing XML Documents with ElementTree</title>
<link rel="alternate" type="text/html" href="http://broadcast.oreilly.com/2010/03/pymotw-parsing-xml-documents-w.html" />
<id>tag:broadcast.oreilly.com,2010://53.39358</id>

<published>2010-03-14T15:00:07Z</published>
<updated>2010-03-14T15:00:07Z</updated>

<summary>Python&apos;s xml.etree.ElementTree library makes it easy to use XML data in your application or library.</summary>
<author>
<name>Doug Hellmann</name>
<uri>http://www.doughellmann.com/</uri>
</author>

<category term="pymotw" label="PyMOTW" scheme="http://www.sixapart.com/ns/types#tag" />
<category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />
<category term="xml" label="xml" scheme="http://www.sixapart.com/ns/types#tag" />

<content type="html" xml:lang="en" xml:base="http://broadcast.oreilly.com/">
Python&apos;s xml.etree.ElementTree library makes it easy to use XML data in your application or library.
</content>
</entry>

<entry>
<title>PyMOTW: tabnanny - Indentation validator</title>
<link rel="alternate" type="text/html" href="http://broadcast.oreilly.com/2010/03/pymotw-tabnanny---indentation.html" />
<id>tag:broadcast.oreilly.com,2010://53.39290</id>

<published>2010-03-07T14:39:29Z</published>
<updated>2010-03-07T14:39:29Z</updated>

<summary>Consistent use of indentation is important in a langauge like Python, where white-space is significant.  The tabnanny module provides a scanner to report on &quot;ambiguous&quot; use of indentation. The simplest way to use tabnanny is to run it from the command line, passing the names of files to check. If you pass directory names, the directories are scanned recursively to find .py files to check.</summary>
<author>
<name>Doug Hellmann</name>
<uri>http://www.doughellmann.com/</uri>
</author>

<category term="pymotw" label="PyMOTW" scheme="http://www.sixapart.com/ns/types#tag" />
<category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />

<content type="html" xml:lang="en" xml:base="http://broadcast.oreilly.com/">
Consistent use of indentation is important in a langauge like Python, where white-space is significant.  The tabnanny module provides a scanner to report on &quot;ambiguous&quot; use of indentation. The simplest way to use tabnanny is to run it from the command line, passing the names of files to check. If you pass directory names, the directories are scanned recursively to find .py files to check.
</content>
</entry>

<entry>
<title>PyMOTW: cgitb - Detailed traceback reports</title>
<link rel="alternate" type="text/html" href="http://broadcast.oreilly.com/2010/01/pymotw-cgitb---detailed-traceb.html" />
<id>tag:broadcast.oreilly.com,2010://53.39023</id>

<published>2010-01-30T18:11:44Z</published>
<updated>2010-01-30T18:11:44Z</updated>

<summary>cgitb was originally designed for showing errors and debugging information in web applications. It was later updated to include plain-text output as well, but unfortunately wasn&apos;t renamed. This has lead to obscurity and the module is not used as often as it should be. Nonetheless, cgitb is a valuable debugging tool in the standard library.</summary>
<author>
<name>Doug Hellmann</name>
<uri>http://www.doughellmann.com/</uri>
</author>

<category term="pymotw" label="PyMOTW" scheme="http://www.sixapart.com/ns/types#tag" />
<category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />

<content type="html" xml:lang="en" xml:base="http://broadcast.oreilly.com/">
cgitb was originally designed for showing errors and debugging information in web applications. It was later updated to include plain-text output as well, but unfortunately wasn&apos;t renamed. This has lead to obscurity and the module is not used as often as it should be. Nonetheless, cgitb is a valuable debugging tool in the standard library.
</content>
</entry>

<entry>
<title>PyCon 2010 Invited Speakers</title>
<link rel="alternate" type="text/html" href="http://broadcast.oreilly.com/2009/12/pycon-2010-invited-speakers.html" />
<id>tag:broadcast.oreilly.com,2009://53.38650</id>

<published>2009-12-06T15:55:00Z</published>
<updated>2009-12-06T15:55:00Z</updated>

<summary>The list of invited speakers for PyCon 2010 has been announced, and I&apos;m looking forward to seeing all of them.</summary>
<author>
<name>Doug Hellmann</name>
<uri>http://www.doughellmann.com/</uri>
</author>

<category term="pycon" label="pycon" scheme="http://www.sixapart.com/ns/types#tag" />
<category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />

<content type="html" xml:lang="en" xml:base="http://broadcast.oreilly.com/">
The list of invited speakers for PyCon 2010 has been announced, and I&apos;m looking forward to seeing all of them.
</content>
</entry>

<entry>
<title>PyMOTW: sys, Part 6: Low-level Thread Support</title>
<link rel="alternate" type="text/html" href="http://broadcast.oreilly.com/2009/11/pymotw-sys-part-6-low-level-th.html" />
<id>tag:broadcast.oreilly.com,2009://53.38508</id>

<published>2009-11-15T15:12:58Z</published>
<updated>2009-11-15T15:12:58Z</updated>

<summary>sys includes low-level functions for controlling and debugging thread behavior.</summary>
<author>
<name>Doug Hellmann</name>
<uri>http://www.doughellmann.com/</uri>
</author>

<category term="pymotw" label="PyMOTW" scheme="http://www.sixapart.com/ns/types#tag" />
<category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />

<content type="html" xml:lang="en" xml:base="http://broadcast.oreilly.com/">
sys includes low-level functions for controlling and debugging thread behavior.
</content>
</entry>

<entry>
<title>PyMOTW: sys, Part 5: Tracing Your Program As It Runs</title>
<link rel="alternate" type="text/html" href="http://broadcast.oreilly.com/2009/11/pymotw-sys-part-5-tracing-your.html" />
<id>tag:broadcast.oreilly.com,2009://53.38449</id>

<published>2009-11-08T15:47:47Z</published>
<updated>2009-11-08T15:47:47Z</updated>

<summary>There are two ways to inject code to watch your Python program run: tracing and profiling.  They are similar, but intended for different purposes and so have different constraints.  The easiest, but least efficient, way to monitor your program is through a trace hook, which can be used for writing a debugger, code coverage monitoring, or many other purposes.</summary>
<author>
<name>Doug Hellmann</name>
<uri>http://www.doughellmann.com/</uri>
</author>

<category term="pymotw" label="PyMOTW" scheme="http://www.sixapart.com/ns/types#tag" />
<category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />

<content type="html" xml:lang="en" xml:base="http://broadcast.oreilly.com/">
There are two ways to inject code to watch your Python program run: tracing and profiling.  They are similar, but intended for different purposes and so have different constraints.  The easiest, but least efficient, way to monitor your program is through a trace hook, which can be used for writing a debugger, code coverage monitoring, or many other purposes.
</content>
</entry>

<entry>
<title>PyMOTW: sys, Part 4: Exception Handling</title>
<link rel="alternate" type="text/html" href="http://broadcast.oreilly.com/2009/11/pymotw-sys-part-4-exception-ha.html" />
<id>tag:broadcast.oreilly.com,2009://53.38365</id>

<published>2009-11-01T20:14:30Z</published>
<updated>2009-11-01T20:14:30Z</updated>

<summary>sys includes features for trapping and working with exceptions.</summary>
<author>
<name>Doug Hellmann</name>
<uri>http://www.doughellmann.com/</uri>
</author>

<category term="pymotw" label="PyMOTW" scheme="http://www.sixapart.com/ns/types#tag" />
<category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />

<content type="html" xml:lang="en" xml:base="http://broadcast.oreilly.com/">
sys includes features for trapping and working with exceptions.
</content>
</entry>

<entry>
<title>PyMOTW: sys, Part 3: Memory Management and Limits</title>
<link rel="alternate" type="text/html" href="http://broadcast.oreilly.com/2009/10/pymotw-sys-part-3-memory-manag.html" />
<id>tag:broadcast.oreilly.com,2009://53.38285</id>

<published>2009-10-25T14:50:23Z</published>
<updated>2009-10-25T14:50:23Z</updated>

<summary>Python&apos;s sys module includes several functions for understanding and controlling memory usage.</summary>
<author>
<name>Doug Hellmann</name>
<uri>http://www.doughellmann.com/</uri>
</author>

<category term="pymotw" label="PyMOTW" scheme="http://www.sixapart.com/ns/types#tag" />
<category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />

<content type="html" xml:lang="en" xml:base="http://broadcast.oreilly.com/">
Python&apos;s sys module includes several functions for understanding and controlling memory usage.
</content>
</entry>

<entry>
<title>PyMOTW: sys, Part 2: Runtime Environment</title>
<link rel="alternate" type="text/html" href="http://broadcast.oreilly.com/2009/10/pymotw-sys-part-2-runtime-envi.html" />
<id>tag:broadcast.oreilly.com,2009://53.38222</id>

<published>2009-10-18T23:04:33Z</published>
<updated>2009-10-18T23:04:33Z</updated>

<summary>sys provides low-level APIs for interacting with the system outside of your application, by accepting command line arguments, accessing user input, and passing messages and status values to the user.</summary>
<author>
<name>Doug Hellmann</name>
<uri>http://www.doughellmann.com/</uri>
</author>

<category term="pymotw" label="PyMOTW" scheme="http://www.sixapart.com/ns/types#tag" />
<category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />

<content type="html" xml:lang="en" xml:base="http://broadcast.oreilly.com/">
sys provides low-level APIs for interacting with the system outside of your application, by accepting command line arguments, accessing user input, and passing messages and status values to the user.
</content>
</entry>

<entry>
<title>PyMOTW: sys, Part 1: Interpreter Settings</title>
<link rel="alternate" type="text/html" href="http://broadcast.oreilly.com/2009/10/pymotw-sys-part-1-interpreter.html" />
<id>tag:broadcast.oreilly.com,2009://53.38156</id>

<published>2009-10-12T13:10:08Z</published>
<updated>2009-10-12T13:10:08Z</updated>

<summary>sys contains attributes and functions for accessing compile-time or runtime configuration settings for the interpreter.</summary>
<author>
<name>Doug Hellmann</name>
<uri>http://www.doughellmann.com/</uri>
</author>

<category term="pymotw" label="PyMOTW" scheme="http://www.sixapart.com/ns/types#tag" />
<category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />

<content type="html" xml:lang="en" xml:base="http://broadcast.oreilly.com/">
sys contains attributes and functions for accessing compile-time or runtime configuration settings for the interpreter.
</content>
</entry>

<entry>
<title>PyMOTW: resource - System resource management</title>
<link rel="alternate" type="text/html" href="http://broadcast.oreilly.com/2009/09/pymotw-resource---system-resou.html" />
<id>tag:broadcast.oreilly.com,2009://53.37979</id>

<published>2009-09-20T16:20:00Z</published>
<updated>2009-09-20T16:20:00Z</updated>

<summary>The functions in Python&apos;s resource module help you probe the current resources consumed by a process, and place limits on them to control how much load your program places on a system.</summary>
<author>
<name>Doug Hellmann</name>
<uri>http://www.doughellmann.com/</uri>
</author>

<category term="pymotw" label="PyMOTW" scheme="http://www.sixapart.com/ns/types#tag" />
<category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />

<content type="html" xml:lang="en" xml:base="http://broadcast.oreilly.com/">
The functions in Python&apos;s resource module help you probe the current resources consumed by a process, and place limits on them to control how much load your program places on a system.
</content>
</entry>

<entry>
<title>PyMOTW: fractions - Rational Numbers</title>
<link rel="alternate" type="text/html" href="http://broadcast.oreilly.com/2009/09/pymotw-fractions---rational-nu.html" />
<id>tag:broadcast.oreilly.com,2009://53.37885</id>

<published>2009-09-05T14:36:12Z</published>
<updated>2009-09-05T14:36:12Z</updated>

<summary>Python&apos;s Fraction class implements numerical operations for rational numbers.</summary>
<author>
<name>Doug Hellmann</name>
<uri>http://www.doughellmann.com/</uri>
</author>

<category term="pymotw" label="PyMOTW" scheme="http://www.sixapart.com/ns/types#tag" />
<category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />

<content type="html" xml:lang="en" xml:base="http://broadcast.oreilly.com/">
Python&apos;s Fraction class implements numerical operations for rational numbers.
</content>
</entry>

<entry>
<title>PyMOTW: decimal - Fixed and floating point math</title>
<link rel="alternate" type="text/html" href="http://broadcast.oreilly.com/2009/08/pymotw-decimal---fixed-and-flo.html" />
<id>tag:broadcast.oreilly.com,2009://53.37841</id>

<published>2009-08-30T16:16:09Z</published>
<updated>2009-08-30T16:16:09Z</updated>

<summary>The decimal module implements fixed and floating point arithmetic using the model familiar to most people, rather than the floating point representation implemented by most computer hardware.</summary>
<author>
<name>Doug Hellmann</name>
<uri>http://www.doughellmann.com/</uri>
</author>

<category term="pymotw" label="PyMOTW" scheme="http://www.sixapart.com/ns/types#tag" />
<category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />

<content type="html" xml:lang="en" xml:base="http://broadcast.oreilly.com/">
The decimal module implements fixed and floating point arithmetic using the model familiar to most people, rather than the floating point representation implemented by most computer hardware.
</content>
</entry>

<entry>
<title>PyMOTW: dis - Python Bytecode Disassembly</title>
<link rel="alternate" type="text/html" href="http://broadcast.oreilly.com/2009/08/pymotw-dis---python-bytecode-d.html" />
<id>tag:broadcast.oreilly.com,2009://53.37793</id>

<published>2009-08-23T11:03:33Z</published>
<updated>2009-08-23T11:03:33Z</updated>

<summary>The dis module converts code objects to a human-readable representation of the bytecodes for analysis.</summary>
<author>
<name>Doug Hellmann</name>
<uri>http://www.doughellmann.com/</uri>
</author>

<category term="pymotw" label="PyMOTW" scheme="http://www.sixapart.com/ns/types#tag" />
<category term="python" label="python" scheme="http://www.sixapart.com/ns/types#tag" />

<content type="html" xml:lang="en" xml:base="http://broadcast.oreilly.com/">
The dis module converts code objects to a human-readable representation of the bytecodes for analysis.
</content>
</entry>

</feed> 
